in reply to simple hash question
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: simple hash question
by PodMaster (Abbot) on May 27, 2004 at 04:28 UTC | |
by wolfi (Scribe) on May 27, 2004 at 05:06 UTC | |
Re: Re: simple hash question
by davido (Cardinal) on May 27, 2004 at 04:29 UTC |