in reply to my least favorite perl feature
Time to breathe in the Zen.
Perl stringifies and numifies things at need. Scalars silently become strings for printing, numbers for arithmetic.
When you choose between == and eq don't think of it as forced by the nature of the scalar. Think of it as choosing for yourself how the comparison will be done.
After Compline,
Zaxo
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: my least favorite perl feature
by waxmop (Beadle) on Feb 05, 2003 at 21:40 UTC | |
by Abigail-II (Bishop) on Feb 05, 2003 at 23:32 UTC |