go ahead... be a heretic | |
PerlMonks |
Re: Surprising Syntaxby Chmrr (Vicar) |
on Aug 06, 2002 at 05:17 UTC ( [id://187929]=note: print w/replies, xml ) | Need Help?? |
Yup. See box below for an explanation. Interestingly enough, I do get the same abnormal behavior with 5.6.0, unlike belg4mit. v-strings are rather kludges in my opinion, and it comes up here. The v1 is being interpreted as a v-string; Data::Dumper shows what's going on:
Naughty v-strings! perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In Section
Seekers of Perl Wisdom
|
|