in reply to The trap of reference numification
If the Perl Gods want to do this for some reason, give them a mechanism to turn it off:
I would even go so far as to say comparison should be strings only -- what better way to reinforce the notion that math is not useful on refs (unless you're doing something naughty under the hood).no warnings refnum;
And if you're still convinced you need to do math on refs, you can grab the digits out with a regex. At least then it will be painfully obvious for the next Perler.
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The trap of reference numification
by Aristotle (Chancellor) on Nov 12, 2005 at 22:34 UTC |