That return(\@common, \@total) probably needs to be closer to the end of the subroutine, the way you have it written now, you are returning after checking only one of the keys of %enthalpy_hash.
| We're not surrounded, we're in a target-rich environment! |
|---|
In reply to Re: subroutines - passing hashes by reference
by jasonk
in thread subroutines - passing hashes by reference
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |