my ( $share_hash, %share_hash, @fields );You have 2 variables with the same name. To ease the confusion, rename $share_hash as $share_hash_ref
Some other things to try:
In reply to Re: hashes hash refs and arrays
by toolic
in thread hashes hash refs and arrays
by brcjacks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |