Anonymous Monk,
Out of pure curiosity, does your script do anything other than send the emails that your snippet shows? The reason I ask is because I come from a shell scripting background and still use my command line (KSH) for such tasks:
$ for file in `ls`
> do
> (echo The file $file is attached;uuencode $file $file) | mailx -
+s "$file" email@address.com
> done
Now don't get me wrong - I am a Perl fiend. My office has running jokes about my obsession since I am the only wannabe JAPH in the office, but I do not find myself turning to Perl for every task that comes up. I was just wondering if this was a similar situation.
Cheers - L~R