Think about Loose Coupling | |
PerlMonks |
Re: stringified referencesby adrianh (Chancellor) |
on Dec 04, 2002 at 19:32 UTC ( [id://217569]=note: print w/replies, xml ) | Need Help?? |
Since a developer can override stringification this isn't safe in general I'm afraid. Take a look at the blessed function in Scalar::Util. It does exactly what it says on the tin.
In Section
Seekers of Perl Wisdom
|
|