Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Mystery interaction between split and gobbling arraysby toolic (Bishop) |
on Jun 17, 2015 at 20:52 UTC ( [id://1130883]=note: print w/replies, xml ) | Need Help?? |
Tip #6 from the Basic debugging checklist... B::Deparse
Notice how the 2 split lines have different LIMIT values (0 and 4). 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
In Section
Seekers of Perl Wisdom
|
|