There's more than one way to do things | |
PerlMonks |
Re^5: Avoiding repeated undefsby choroba (Cardinal) |
on Feb 28, 2019 at 06:42 UTC ( [id://1230649]=note: print w/replies, xml ) | Need Help?? |
If what you mean by "inheritance" is > when assigning to a list, if LIMIT is omitted (or zero), then LIMIT is treated as though it were one larger than the number of variables in the list; then note that the quote was taken directly from the documentation of split.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|