Michael Sullivan wrote:
> I'm trying to create a mail filter script in perl. The user will send
> mail to the script and the script will hold the mail until it receives
> further orders from the script. Each individual email needs to be
> stored in its own file while waiting to be processed. I want a random
> code for the filename to be used for each individual email. I was
> thinking something like this:
>
> date +%N | md5sum
>
> However, while I can call this command using exec(), how do I use the
> output in my script?
Try Googling for "shell commands perl". The Shell module will probably
do the trick for you.
Chad Martin
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/