in reply to Re: Statement modifier thingie
in thread Statement modifier thingie
None of those can receive a "statement modifier".if ($foo) {print "Hello"}; package Foo 1.2.3; use Hello; { 1 } next if $bar;
In fact, if you inspect perly.y you'll see that expressions are modified:
with sideff one of the many forms of statements.sideff : error | expr | expr IF expr | expr UNLESS expr | expr WHILE expr | expr UNTIL iexpr | expr FOR expr | expr WHEN expr ;
If you're going to reply with irrelevant snobbery, please aim for the middle of the bowl instead of peeing all over the stall.
And think what exactly is a "statement" in Perl!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Statement modifier thingie
by rovf (Priest) on Mar 01, 2012 at 15:23 UTC |