Usually, one uses the argument list to pass information into a subroutine. Also, it would seem that you're throwing out the return values from each of your two subs.
Also, I (at least) find your code formatting to be, ahem, confusing, but that's an aesthetic, not technical, judgment.
In reply to Re: Passing Sub Values
by swampyankee
in thread Passing Sub Values
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |