in reply to use of unitialized value
Try dumping the contents of $inventory{$itemcode} to see what's actually in it (using Data::Dumper:
That way, you can verify that the hash values contain what you think they contain.print Dumper($inventory{$itemcode}); # or even: print Dumper(\%inventory);
CU
Robartes-
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: use of unitialized value
by madaket (Novice) on Oct 20, 2003 at 18:53 UTC |
In Section
Seekers of Perl Wisdom