Urg, ambiuous use of %{shift}. Instead, use:
# ... or to use as regular hashes my %genes = %{+shift}; my %codonTotal = %{+shift}; # ... or even my %genes = %{$_[0]}; my %codonTotal = %{$_[1]};
:)
In reply to Re: Re: passing two hashs to a subroutine
by Anonymous Monk
in thread passing two hashs to a subroutine
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |