in reply to Problem with tie (hash) and dbi?
Can't use an undefined value as a HASH reference at ./x line 46.
I suspect you didn't get that error from this example as there aren't even 46 lines here. In any case, I'm not sure what you are trying to do, really. This might be your problem though:
You are trying to use %h as a hash reference. You probably meant:%h->{a}->{'foo'}='bar'; print Dumper %h->{a};
$h{a}->{'foo'} = 'bar'; print Dumper $h{a};
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Problem with tie (hash) and dbi?
by smferris (Beadle) on May 30, 2003 at 02:22 UTC | |
by sauoq (Abbot) on May 30, 2003 at 02:38 UTC |