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 };
In reply to Re: Perl. Problem with HASH value
by choroba
in thread Perl. Problem with HASH value
by breeze
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |