in reply to Re: "my $p = value if condition()" as bad|deprecated as "my $p if 0" (Naughty indeed)
in thread "my $p = value if condition()" as bad|deprecated as "my $p if 0" (Naughty indeed)
I take it that you do not like statement modifiers for whatever reasons. Otherwise, just what is wrong with ...
my $p; $p = $q if condition();
...?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |