Is that really how you populate your hashes?
$items = { a => 1, b => 2, c => 3, }; if ( exists $items->{ $variable } ) { # . . . }
-Bryan
In reply to Re^2: Using IF and OR, I'm sure there is a better way
by mrborisguy
in thread Using IF and OR, I'm sure there is a better way
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |