good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: Tutorial: Introduction to Object-Oriented Programmingby demerphq (Chancellor) |
on Dec 15, 2002 at 01:45 UTC ( [id://219935]=note: print w/replies, xml ) | Need Help?? |
Unfortunately, there isn't an overload::NumVal to match overload::StrVal (unless I'm missing something somewhere ;-)
I think the best way to do this is Scalar::Util::refaddr. And its much faster than parsing overload::StrVal. But it isn't core (at 5.6 anyway)
--- demerphq
In Section
Meditations
|
|