Thank you for your quick fix!

It works, but a warning is emitted.

$ perl6 -e '{ temp %*ENV<FOO> = "1" }; { temp %*ENV<BAR> = "1"; run "ls" }'
Use of uninitialized value %ENV of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things,
if needed.  in block  at -e:1
Applications  System   bin    etc net  sbin var

2015-10-25 23:32 GMT+09:00 Elizabeth Mattijsen via RT
<perl6-bugs-follo...@perl.org>:
> Fixed with b0b2489a2cff7b56d61e8e , tests needed!
>
>> On 25 Oct 2015, at 11:49, Shoichi Kaji (via RT) 
>> <perl6-bugs-follo...@perl.org> wrote:
>>
>> # New Ticket Created by  Shoichi Kaji
>> # Please include the string:  [perl #126447]
>> # in the subject line of all future correspondence about this issue.
>> # <URL: https://rt.perl.org/Ticket/Display.html?id=126447 >
>>
>>
>>> perl6 -v
>> This is perl6 version 2015.10-19-gd192f1c built on MoarVM version 2015.10
>>
>>> perl6 -e '{ temp %*ENV<FOO> = "1" }; { temp %*ENV<BAR> = "1"; run "ls" }'
>> Cannot unbox a type object
>>  in block <unit> at -e:1
>
>

Reply via email to