P is for Practical | |
PerlMonks |
Re^3: Wrong result for "length keys %$hashref"?by chromatic (Archbishop) |
on Mar 14, 2011 at 22:02 UTC ( [id://893181]=note: print w/replies, xml ) | Need Help?? |
If you used scalar, they might not know exactly what it did... A Perl programmer who doesn't understand scalar context has no business programming alone. With that said, this is one of the few places where using the explicit scalar operator makes sense.
In Section
Seekers of Perl Wisdom
|
|