We don't bite newbies here... much | |
PerlMonks |
Re: List into two-dimensional arrayby choroba (Cardinal) |
on Dec 14, 2020 at 19:14 UTC ( [id://11125184]=note: print w/replies, xml ) | Need Help?? |
In the spirit of TIMTOWTDI:
or, without using indices:
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|