|
|
| No such thing as a small change | |
| PerlMonks |
Re: differences between eq "" and !by imp (Priest) |
| on Dec 14, 2006 at 04:08 UTC ( #589741=note: print w/ replies, xml ) | Need Help?? |
|
The value obtained by using an array in scalar context is the number of entries in that array - and an empty string is not a number. Neither test in the code you provided will print anything, as it is equivalent to this:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||