in reply to how to write a modified return() call?
It hides the return at the end of the line, so you could break the lines.my $start_with = another_value() or ( warn("Could not get another value"), return );
my $start_with = another_value() or ( warn("Could not get another value"), return );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to write a modified return() call?
by JavaFan (Canon) on Jul 14, 2009 at 14:51 UTC | |
by ikegami (Patriarch) on Jul 14, 2009 at 15:13 UTC | |
by ELISHEVA (Prior) on Jul 14, 2009 at 15:41 UTC | |
by ikegami (Patriarch) on Jul 14, 2009 at 15:51 UTC | |
by JavaFan (Canon) on Jul 14, 2009 at 15:58 UTC | |
| |
|
Re^2: how to write a modified return() call?
by leocharre (Priest) on Jul 14, 2009 at 18:51 UTC | |
by ikegami (Patriarch) on Jul 14, 2009 at 19:05 UTC |