you're trying to match a hash again the number 1, yes? (rather than use the 1 as part of the ref).
try this...
if (%hash->{$base}->{'Initialized'} !~ /1/) {
or
if (%hash->{$base}->{'Initialized'} !~ /"1"/) {
about strict:
if i'm not mistaken, most values need to be in quotes, while strict is in place
In reply to Re: simple hash question
by wolfi
in thread simple hash question
by datannen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |