in reply to Re^2: Is this the most elegant way to code directory lookup?
in thread Is this the most elegant way to code directory lookup?
if ( $bar !~ /bar/ and ( $baz =~ /qux/ or not defined $undef ) )
But let's not stop there. Reduce the number of things the reader has to keep in mind by breaking the statement into two.
if( $bar !~ /bar/ ) if ( $baz =~ /qux/ or not defined $undef )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is this the most elegant way to code directory lookup?
by BrowserUk (Patriarch) on Sep 29, 2006 at 16:46 UTC | |
by Hue-Bond (Priest) on Sep 29, 2006 at 17:20 UTC | |
by ikegami (Patriarch) on Sep 29, 2006 at 17:31 UTC | |
by BrowserUk (Patriarch) on Sep 29, 2006 at 19:13 UTC | |
by ikegami (Patriarch) on Sep 29, 2006 at 19:59 UTC | |
by BrowserUk (Patriarch) on Sep 29, 2006 at 21:12 UTC |