in reply to Sub routine processing issue, HELP!!!!!
Furthermore, in your example @array only ever contains one element ($N_NUM), so you'd just as well call it as total($N_NUM);
try removing the first &total(@array) call, and replace the &total call with
and change the return statement in total() withmy $result = total($N_NUM);
and please STOP SHOUTING! see how (not) to ask a question.return $results;
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sub routine processing issue, HELP!!!!!
by dazzle (Sexton) on Dec 08, 2004 at 22:52 UTC | |
|
Re^2: Sub routine processing issue, HELP!!!!!
by Anonymous Monk on Dec 08, 2004 at 20:51 UTC |