Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my ($initial_enthalpy, $initial_entropy) = get_initials (\@terminal, \ +@initial_enths, \@initial_entros); sub get_initials { my ($terminal, $initial_enths, $initial_entros) = @_; my ($initial_entropy, $initial_enthalpy); if (($terminal[0] =~ /^G/) || ($terminal[0] =~ /^C/)) { $initial_enthalpy += initial_enths[1]; $initial_entropy += $initial_entros[1]; } return ($initial_enthalpy, $initial_entropy); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: whats wrong with my sub-routine ??
by merlyn (Sage) on Apr 23, 2003 at 15:52 UTC | |
|
Re: whats wrong with my sub-routine ??
by Ovid (Cardinal) on Apr 23, 2003 at 16:11 UTC | |
|
Re: whats wrong with my sub-routine ??
by John M. Dlugosz (Monsignor) on Apr 23, 2003 at 15:55 UTC | |
|
Re: whats wrong with my sub-routine ??
by broquaint (Abbot) on Apr 23, 2003 at 15:57 UTC | |
by Coplan (Pilgrim) on Apr 23, 2003 at 16:39 UTC | |
by Ovid (Cardinal) on Apr 23, 2003 at 16:48 UTC | |
by dragonchild (Archbishop) on Apr 23, 2003 at 17:17 UTC | |
by Ovid (Cardinal) on Apr 23, 2003 at 17:19 UTC |