I am sure this is very good advice, but in the present case
perl -elw 'if ("h@t" =~ /(\@)/ ) { print $1 }'doesn't produce any warning (I'm using 5.8.8 under Cygwin and Debian).
How did you get the message about the unintended interpolation?
In reply to Re^2: Matching @ in string
by loris
in thread Matching @ in string
by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |