in reply to To return and/or not?
$ perl -MO=Deparse foo.pl sub c1 { my($a, $b) = @_; not $b if $a; } sub c2 { my($a, $b) = @_; not $b if return $a; } foo.pl syntax OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: To return and/or not?
by Anonymous Monk on Oct 08, 2011 at 09:32 UTC | |
by moritz (Cardinal) on Oct 08, 2011 at 11:21 UTC | |
by choroba (Cardinal) on Oct 08, 2011 at 09:50 UTC | |
by Anonymous Monk on Oct 08, 2011 at 10:10 UTC | |
by choroba (Cardinal) on Oct 08, 2011 at 10:12 UTC | |
by Anonymous Monk on Oct 08, 2011 at 10:13 UTC | |
by Anonymous Monk on Oct 08, 2011 at 10:37 UTC | |
by Anonymous Monk on Oct 08, 2011 at 10:59 UTC |