in reply to looking for a good idiom: return this if this is true
Obviously, whether or not this technique will work depends on the kinds of values the function returns.thatroutine() =~ /(.+)/s and return $1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: looking for a good idiom: return this if this is true
by cosimo (Hermit) on Mar 08, 2005 at 07:33 UTC | |
by jdporter (Paladin) on Mar 08, 2005 at 14:38 UTC |