There's more than one way to do things | |
PerlMonks |
Re^5: What is true and false in Perl?by jdporter (Paladin) |
on Oct 18, 2012 at 15:25 UTC ( [id://999756]=note: print w/replies, xml ) | Need Help?? |
The same thing tobyink and tye said, though more obtusely and snarkily. Here's another example:
The mere fact that an expression evaluates to a true value in scalar context doesn't mean it is true. tie and overload are among the user-accessible features which can muddy the true/false waters. An example like this should make the principle more obvious:
In Section
Tutorials
|
|