>I need to pass an command-line arg that is a string which contains the '@'.  
Is there any way to do this and also 'tell' Perl not to interpret this as 
other than a '@' character?
> 
>Thx.

Hi,

Perl would not do anything with command-line arguments unless you tell it 
otherwise. Check if you are using the EXPR form of eval to modify the argument 
list.

perl -MData::Dumper -le 'print Dumper \...@argv' @this @should @work

__Output__
$VAR1 = [
          '@this',
          '@should',
          '@work'
        ];

Regards,
Alan Haggai Alavi.
-- 
The difference makes the difference.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to