in reply to Re: Matching @ in string
in thread Matching @ in string
*cough*
$ perl -e 'if (\'h@t\' =~ /(\@)/ ) { print $1 }' -bash: syntax error near unexpected token `('
Not sure why - does escaping the single quote not work?
In Section
Seekers of Perl Wisdom