Skip Menu |
Report information
Id: 131243
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at]

Severity: (no value)
Tag: regex
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: [REGEX] Interpolating a Hash in a regex treats it as a list and errors out
Download (untitled) / with headers
text/plain 452b
Both of these forms produce the error below my %stuff = <fo ba me ow>; say 'foo bar meows' ~~ m:g/ %stuff \S+ /; say 'foo bar meows' ~~ m:g/ %(<fo ba me ow>) \S+ /; # P6opaque: no such attribute '$!reified' in type List when trying to get # a value in block <unit> at z2.p6 line 8 What did I expect to happen? No idea, I just randomly tried the code. If it's not meant to work then at least a better error should be shown.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at