in reply to Re: hash parameter question
in thread hash parameter question
That's exactly what's wrong
my %user=$_;
should be
my %user=%$_;
because $_ contains a *reference* to the nested hash. The fact that a scalar is being assigned to a hash is a sure sign something is wonky.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: hash parameter question
by jarich (Curate) on Dec 13, 2005 at 02:43 UTC | |
by PerlHeathen (Initiate) on Dec 14, 2005 at 19:12 UTC |