Skip to content

Instantly share code, notes, and snippets.

Created February 22, 2015 20:08
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 anonymous/65b390fef7ca3e6808c0 to your computer and use it in GitHub Desktop.
Save anonymous/65b390fef7ca3e6808c0 to your computer and use it in GitHub Desktop.
$ perl6 -e '
sub MAIN (:@requires! where *.grep({!require $^mod}) == 0, :@resources!) {say "OK"}
' --requires=ClassifiedResources.pm6 --requires=ClassifiedResources.pm6 --resources=Ad --resources=User
===SORRY!=== Error while compiling -e
Undeclared routine:
require used at line 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment