P is for Practical | |
PerlMonks |
Re: each %hash: scalar context of list (undef, undef) is falseby choroba (Cardinal) |
on Nov 22, 2014 at 18:00 UTC ( [id://1108108]=note: print w/replies, xml ) | Need Help?? |
Comma in scalar context returns the right operand. List assignment, though, as your citation says, returns the number of elements in the source list.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|