<statico> This is driving me nuts. Can anyone find the syntax error: my
@lines = map { "$_.foo\n", "$_\_bar.baz\n" } map { quux($_) }
@$quuuuux;
<integral> are those hashes or blocks?
<statico> Blocks.
<statico> Or, at least, they should be.
<integral> did you remind perl of that?
<statico> "Remind?"
<integral> add a ; after the { of the first "block"
<integral> your code will then work. perl only uses limited lookahead
to decide
<statico> Weeeeeeeeeeird. Thanks!
limited lookahead 0 Comments More | Login | Reply /