in reply to Re^3: Report on Blessing to 'tag' an object
in thread Report on Blessing to 'tag' an object

Fair point :-)

Scalar::Util has been core since 5.007003 for those interested.

Personally, I prefer catch the weird cases - even if I have to install a few modules to do so.

  • Comment on Re^4: Report on Blessing to 'tag' an object

Replies are listed 'Best First'.
Re: Re: Re^3: Report on Blessing to 'tag' an object
by John M. Dlugosz (Monsignor) on Jan 21, 2003 at 20:30 UTC
    This particular module should be useful without other (non-core) dependancies, and should run on Perl 5.6. There is another place Scalar::Util would come in handy (to distinguish a floating-point literal from a string literal), but I'm trying to do without.

    I thought about using isa rather than ref, but figured the latter is faster and I know exactly what the possibilities are. That is, I won't see a derived class coming back in.

      If you are that concerned about module dependencies there is always the option of a copy 'n' paste of the pure perl version :-)