Skip to content

Instantly share code, notes, and snippets.

@snarkyboojum
Created May 30, 2010 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snarkyboojum/418867 to your computer and use it in GitHub Desktop.
Save snarkyboojum/418867 to your computer and use it in GitHub Desktop.
# http://perl6advent.wordpress.com/2009/12/12/day-12-modules-and-exporting/
use v6;
use Test;
plan 2;
BEGIN {
@*INC.push: 't/spec/integration';
}
use Fancy::Utilities;
is Fancy::Utilities::lolgreet('Tene'), 'O HAI TENE', 'Referencing subs by fullname works';
is lolgreet('Jnthn'), 'O HAI JNTHN', 'Exporting symbols works';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment