Tom Allison wrote:
> 
> I'm trying to make a little perl script that reads the subject
> lines from email.

>From files on your HD or from an SMTP server?


> Problem that I see is being able to correctly remove the "bad"
> characters, like embedding perl code into the subject line...
> 
> Example:
> Subject: Hello `rm -rf /*` have a nice day!
> Would, I suspect, be a bad thing to have.
> 
> True?  Would it execute?

It won't execute unless _you_ execute it, so don't do that.


> Is there some safe way to be sure to catch everything?

It is just a string like any other string.


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to