in reply to Perl. Problem with HASH value
You probably meant this:$tmpContent->{'SWITCH'} = $switchValues;
i.e. do not assign a reference to the old value to tmpContent, but a reference to a newly created hash with the values you want to keep.my $tmpContent = { %$setSwitchValue };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl. Problem with HASH value
by breeze (Initiate) on Dec 16, 2011 at 20:12 UTC |