"be consistent" | |
PerlMonks |
Re: Matching @ in stringby dwu (Monk) |
on Nov 22, 2007 at 13:24 UTC ( [id://652364]=note: print w/replies, xml ) | Need Help?? |
I'm suspecting because perl interprets @t within the string h@t as the array @t, since double quotes ("") will cause variables to be interpolated. Inserting both tests into a short script:
produces:
Doing:
produces: @@As expected. HTH.
In Section
Seekers of Perl Wisdom
|
|