* Alex Le Fevre <[EMAIL PROTECTED]> [010404 21:44]:
> > No it isn't. The =~ s stuff is totally unnecessary, as you're not passing
> > the address on the command line to sendmail... 
> Maybe I didn't make myself clear. I *am* trying to pass the e-mail address 
> from the command line to sendmail. And yes, $recip *is* user\@domain.com -- 
> I printed it to STDOUT, and it showed up just like that. 

Aw come on, take away the =~ s line and you'll be fine. I promise.

And NO, you're not trying to pass the recip on the command line. Your're
passing it on STDIN.

> IMHO, if the script works fine when I have a hard-coded To: line, and my 
> $recip comes out a replica of my hard-coded To: line, it doesn't seem to me 
> to be a Perl problem. 

...

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

PGP signature

Reply via email to