Is too (if it can look like an interpolable variable).
>perl -wMstrict -le "my $str='foo@bar'; if ($str =~ /@b/){ print 'No need to escape the @ in a regex'; } " Possible unintended interpolation of @b in string at ... Global symbol "@b" requires explicit package name at ... Execution of -e aborted due to compilation errors.
In reply to Re^2: trouble with @ in a regular expression
by AnomalousMonk
in thread trouble with @ in a regular expression
by efoss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |