![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: my least favorite perl featureby tall_man (Parson) |
on Feb 05, 2003 at 21:07 UTC ( #232926=note: print w/replies, xml ) | Need Help?? |
What is "overloaded" by design in perl is two possible values for every scalar: a string or a number. The comparison operators let you choose which. Do you want to give up either lexical or numeric sorting by overloading "<=>"?
By the way, if you "use warnings" perl will help you out, like so:
In Section
Seekers of Perl Wisdom
|
|