in reply to looking for a good idiom: return this if this is true
I tried
andreturn $var if my $var = thatroutine();
but neither works.return my $var if $var = thatroutine();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: looking for a good idiom: return this if this is true
by gaal (Parson) on Mar 06, 2005 at 08:50 UTC | |
by adamk (Chaplain) on Mar 07, 2005 at 13:49 UTC |