in reply to Re^2: Report on Blessing to 'tag' an object
in thread Report on Blessing to 'tag' an object
That won't always work: Can't locate Scalar/Util.pm in @INC Which do you think is more likely? 1) That I blessed a non-array reference into the package named 'ARRAY' and I'll be upset that UNIVERSAL::isa() gets confused or 2) That I don't have Scalar::Util ?
I think Scalar::Util has become "core" and so in a few years, the probabilities will shift. For now, I much prefer UNIVERSAL::isa() because I like my code to work on relatively old versions of Perl and I don't mind that it is possible to break my code by doing extremely stupid things. q-:
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Report on Blessing to 'tag' an object
by adrianh (Chancellor) on Jan 21, 2003 at 17:13 UTC | |
by John M. Dlugosz (Monsignor) on Jan 21, 2003 at 20:30 UTC | |
by adrianh (Chancellor) on Jan 21, 2003 at 20:59 UTC |