# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #78258]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=78258 >
mberends++ reports the following bug:
$ 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
...
In other words, %*ENV doesn't exist early enough for it to work within
a use'd module.