XP is just a number | |
PerlMonks |
Re: Syntax error in Nested forby Athanasius (Archbishop) |
on Jul 03, 2013 at 03:07 UTC ( [id://1042139]=note: print w/replies, xml ) | Need Help?? |
In the line:
the second for is being used as a statement modifier on another for loop, but statement modifiers are allowed only on “simple” statements (Statement Modifiers). But you can do this instead:
Hope that helps,
In Section
Seekers of Perl Wisdom
|
|