Just another Perl shrine | |
PerlMonks |
Re: reading input into a number of arraysby choroba (Cardinal) |
on Feb 25, 2020 at 16:07 UTC ( [id://11113411]=note: print w/replies, xml ) | Need Help?? |
Perl doesn't support the comma separated indices for multidimensional arrays. Instead of
use
Update: Use warnings, Perl will tell you:
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|