P is for Practical | |
PerlMonks |
Re: Is there a cleaner way to write this code below, which includes derferencing references, that themselves have to be dereferenced?by choroba (Cardinal) |
on May 05, 2022 at 15:37 UTC ( [id://11143597]=note: print w/replies, xml ) | Need Help?? |
Do you really need to fetch the whole array before iterating it?
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|