No such thing as a small change | |
PerlMonks |
Re: Doubley surprised by fat commas (updated)by LanX (Saint) |
on Jun 09, 2021 at 22:33 UTC ( [id://11133710]=note: print w/replies, xml ) | Need Help?? |
here what B::Deparse sees, comments added
(I hope print as pseudo-method of file-handles was not too magic for this test.) IIRC one is supposed to enter undef explicitly when wanted, like when ignoring elements in list assignments. I think what's happening here is a form of flattening where leading commas at RHS are ignored.°
update°) yep already discussed here => gist: multiple "empty" commas are ignored Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|