in reply to Re: Using IF and OR, I'm sure there is a better way
in thread Using IF and OR, I'm sure there is a better way
Is that really how you populate your hashes?
$items = { a => 1, b => 2, c => 3, }; if ( exists $items->{ $variable } ) { # . . . }
-Bryan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Using IF and OR, I'm sure there is a better way
by Fletch (Bishop) on Dec 15, 2005 at 15:08 UTC |