and$hashref = { '$/ 11' => 'a'}; $fieldnum= '$/ 11'; $value = $hashref->{$fieldnum}; print "$value";
$hashref = { a => '$/ 11' }; $fieldnum= 'a'; $value = $hashref->{$fieldnum}; print "$value";
In reply to Re: Argument isn't numeric in hash element
by artist
in thread Argument isn't numeric in hash element
by Stephen Toney
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |