die
[email protected] Sat, 8 Oct 2005 14:36:27 +0700
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Hi,
one of my clients has asked a simple mailbox filter, so i've looked
around and decided to use mail-box :).
it looked quite ok. when everything was done, already after having
done some testing, i've met an interesting behavior. my script just
died at processing of a new test mailbox.. i've checked the output
and have found this neat string:
"at /home/domain/perl/lib/perl5/site_perl/5.8.1/Mail/Message/Field/Full.pm line 383."
yes, just "at" :). very informative. so i went to this string and
have found there an example of the perfect coding style which is:
"sub produceBody() { die }"
i guess it's a very useful method.
can somebody of a respective authors comment for me if this is an
intended behavior for this module and a respected feature?
i need to decide what to do with this script of mine..
thanks.
--
mailto:[email protected]