On 11/23/2005 2:26 AM, David Gilden wrote:
> $SendersEmail ="[EMAIL PROTECTED]";
> 
> ($SendersEmail) = $SendersEmail  =~ m/([EMAIL PROTECTED],60})/;
[...]
> I was expecting this: [EMAIL PROTECTED]
> What happened to my @ sign ?

you'll notice that not only is the @ missing, but '@earthlink' is missing.

in your code, after you're #!/usr/bin/perl, put:

use warnings;

you'll see that you havent correctly quoted/escaped the @, which is a
special character.

you can either:

$SendersEmail = '[EMAIL PROTECTED]';

or

$SendersEmail = "[EMAIL PROTECTED]';

it also doesnt appear that you need m/ --- / will do fine by itself in
this context.

-- 

Jeremy Kister
http://jeremy.kister.net./

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to