go ahead... be a heretic | |
PerlMonks |
Re: Forcing list context. Brackets (with list within) as an unary right-associative operatorby choroba (Cardinal) |
on Mar 01, 2019 at 13:31 UTC ( [id://1230714]=note: print w/replies, xml ) | Need Help?? |
Interesting. Definitely a bug in Perl, but it seems it's been already fixed:
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|