|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^5: Use of "die" in OO modulesby adrianh (Chancellor) |
| on Jan 27, 2007 at 16:04 UTC ( [id://596904]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
but it is not really much of an object (at least, not in the sense that it's commonly used and understood by practitioners of Object-Oriented paradigm Well - you get as much of an object as you give it. If you die with a string you get a string. If you die with an object you get an object. We don't have a specialised exception class - but that's the way Perl 5 is in general :)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||