It looks to me like you have a few very odd ideas about how functions work in perl. Might I suggests some reading: perlsub
I'd suggest looking into information on
-caedes
In reply to Re: subroutines + returning more than 1 value
by caedes
in thread subroutines + returning more than 1 value
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |