>>>>> "kellan" == kellan  <[EMAIL PROTECTED]> writes:

kellan> Is there a right way to do this?  I'm using a similar
kellan> technique to wrap unexpected dies into an exception class to
kellan> allow for intelligent dispatch.

Yes, put what you want to catch into an eval block.  Don't use
the __DIE__ action at a distance!  Evil.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to