|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: Matching @ in stringby loris (Hermit) |
| on Nov 23, 2007 at 07:49 UTC ( [id://652514]=note: print w/replies, xml ) | Need Help?? |
|
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? "It took Loris ten minutes to eat a satsuma . . . twenty minutes to get from one end of his branch to the other . . . and an hour to scratch his bottom. But Slow Loris didn't care. He had a secret . . ." (from "Slow Loris" by Alexis Deacon)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||