in reply to Surprising Syntax
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:
$VAR1 = { 'u1' => 1, 'u' => 1, '' => 1, 'v' => 1, 't1' => 1, 't' => 1 };
Naughty v-strings!
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Surprising Syntax
by crenz (Priest) on Aug 06, 2002 at 05:28 UTC | |
|
Re: Re: Surprising Syntax
by graff (Chancellor) on Aug 06, 2002 at 05:42 UTC | |
by Chmrr (Vicar) on Aug 06, 2002 at 05:48 UTC | |
by crenz (Priest) on Aug 06, 2002 at 06:06 UTC | |
by crenz (Priest) on Aug 06, 2002 at 05:59 UTC |