|
|
| XP is just a number | |
| PerlMonks |
Problem w/overloading and Carp::confessby slagel (Novice) |
| on Nov 14, 2001 at 04:56 UTC ( #125187=perlquestion: print w/ replies, xml ) | Need Help?? |
|
slagel has asked for the
wisdom of the Perl Monks concerning the following question:
We're doing something a bit strange, in that we are
overloading the stringify operation on an object and finding
some nastiness. The nasty is that if one calls
Carp::confess in your stringify method, you get a deep
recursion. Is there any way to avoid this short of not
calling confess?
A bit of code:
Thanks, Joe
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||