We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrated from rt.perl.org#131913 (status was 'new')
Searchable as RT131913$
The text was updated successfully, but these errors were encountered:
If I have these three files:
# test.p6 use lib '.'; use first; say $foo;
# first.pm6 use second; sub EXPORT { return { '$foo' => $foo } }
# second.pm6 sub EXPORT { return { '$foo' => %*ENV<SETME> } }
and I say
$ SETME=bar perl6 test.p6
I then get (as I expect): bar
But, if I run it again with SETME as something else:
$ SETME=baz perl6 test.p6
I still get
bar
Replacing the EXPORT sub with
our $foo is export = %*ENV<SETME>
gives me what I expect (the current value of SETME).
Sorry, something went wrong.
No branches or pull requests
Migrated from rt.perl.org#131913 (status was 'new')
Searchable as RT131913$
The text was updated successfully, but these errors were encountered: