is wrong. { } returns a reference to a hash, which is a scalar. Either use ( ) or change %hash to $hash.%hash = { 'chapter' => ...};
In reply to Re: how can i replace a hash key with other hash value?
by cdarke
in thread how can i replace a hash key with other hash value?
by satzbu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |