Skip to content

Instantly share code, notes, and snippets.

@mberends
Created October 6, 2010 21:53
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 mberends/614159 to your computer and use it in GitHub Desktop.
Save mberends/614159 to your computer and use it in GitHub Desktop.
$ cat testenv.pm6
print 'Test existence of %*ENV<PERL6LIB>: ';
print %*ENV.exists('PERL6LIB');
say " OK, still alive";
$ rakudo testenv.pm6
Test existence of %*ENV<PERL6LIB>: Bool::True OK, still alive
$ rakudo -e 'use testenv'
Test existence of %*ENV<PERL6LIB>: Method 'exists' not found for invocant of class 'Failure'
in main program body at line 2:testlib.pm6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment