Skip to content

Instantly share code, notes, and snippets.

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 zoffixznet/915cfd876c94242415c0ed1891076ad6 to your computer and use it in GitHub Desktop.
Save zoffixznet/915cfd876c94242415c0ed1891076ad6 to your computer and use it in GitHub Desktop.
zoffix@ZofLap:/tmp/x$ ls
Foo.pm6
zoffix@ZofLap:/tmp/x$ cat Foo.pm6
unit module Foo;
sub doit {
say "Did it!";
}
zoffix@ZofLap:/tmp/x$ perl6 -I. -MFoo -e 'doit'
===SORRY!=== Error while compiling -e
Undeclared routine:
doit used at line 1
zoffix@ZofLap:/tmp/x$ perl6 -v
This is Rakudo version 2016.03-40-g81558b8 built on MoarVM version 2016.03-46-g50c7f6a
implementing Perl 6.c.
zoffix@ZofLap:/tmp/x$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment