Beefy Boxes and Bandwidth Generously Provided by pair Networks
Frank Do you know where your variables are?  Email "Reflector"
design snags  by hacker (Priest) on Aug 08, 2002 at 19:24 UTC
( #188710=perlquestion: print w/ replies, xml ) Need Help??
There's a couple of snags in this issue...  I have a script
which sits as an alias in /etc/mail/aliases, and intercepts an
incoming email addressed to it, parses information from it, and
performs actions based on very specific criteria found in it,
creates a binary file, and attaches the file and sends it along
in a reply to the original sender.  That's the 40,000-foot view.
I've run into a few snags in the design, and I'd like to clean
them up a bit. Right now, the script works in all the situations
I've thrown at it, including completely invalid data, ^C'ing the
system process the script calls, and so on. (Many thanks also go
to those in the Chatterbox for their patience and tolerance
during phases where I wasn't understanding the use of a model or
perl function,