This seems to do what I want, but it also generates the error message 'Use of uninitialized value in pattern match (m//)'print "$tmpf\n"; # prints 'farms' print keys( %factories); # 'farms' is one of them. if ( defined $factories{ $tmpf})
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |