in reply to insert data into Nested Hash
What you call an insert into the hash is a complete re-assignment of the hash. I think you're making very clunky use of hashes, and perhaps a review of perlreftut would be helpful. At the least, you can change your statement to an insert like so:
but I haven't determined whether that's What You Really Want.$Profileshoh{$prow->[0]} = { $prow->[1]=>{ $prow->[2]=>{ MIN_VALUE=>$returno[0] } } };
Update: I think you Really Want
$profileshoh{$prow->[0]}{$prow->[1]}{prow->[2]}{MIN_VALUE} = $returno[ +0];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: insert data into Nested Hash
by poqui (Deacon) on Jul 15, 2004 at 18:33 UTC |