Hi. Why is it that when I retrieve a hash value from %fastas by using a string (gene name) to find the key, it works fine:
$sequence=$fastas{ENSG0000017672};
but when the same string is in a variable:
$sequence=$fastas{$gene_name};
... I get errors. Many thanks!
In reply to hash access with a variable by LostWeekender
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |