Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by Elian (119) on 2003.05.16 9:20 (#20192) Homepage Journal
    The potential meaning of { is so overloaded that perl has to do some probabalistic analysis to figure out what you mean when you put a { in--is it the left bracket for a block, a hash index, or an anonymous hash constructor? (There's some interesting code that calculates a weighted score based on surrounding constructs, and decides based on that) All that's happened is that your code has, in a mildly ambiguous circumstance, gone down the wrong path. Dunno if I'd call this a bug in perl, since the offending line can certainly be interpreted in several ways.

    Short answer: You're being Too Damn Clever and confused the parser. Stop that.