Think about Loose Coupling | |
PerlMonks |
Re: The mystery of $->[1]by kcott (Archbishop) |
on Jul 11, 2015 at 20:59 UTC ( [id://1134317]=note: print w/replies, xml ) | Need Help?? |
G'day hurricup, ++ Good catch! The code itself parses as legal Perl:
And, as you can see, your analysis is correct: '$-' is being compared with '[1]'. There's actually two adjacent lines like that in the source code:
I suspect those should be:
although, I haven't delved deeply enough into the code to say for certain. I suggest you raise a bug report for this. -- Ken
In Section
Seekers of Perl Wisdom
|
|