dee00zee has asked for the wisdom of the Perl Monks concerning the following question:
The output I get is $f=109 and $g=5sub coor { my ($a,$b); $f=$a+109; $g=$b+5; @in=($f,$g); } ###################################################### #MAIN PROGRAM &coor("1","2"); @y1_opp=&coor; print "@y1_opp\n";
Janitored by Arunbear - added code tags, as per Monastery guidelines
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: subroutine..help
by Zaxo (Archbishop) on Oct 29, 2004 at 05:59 UTC | |
by hmerrill (Friar) on Oct 29, 2004 at 12:01 UTC | |
|
Re: subroutine..help
by TedPride (Priest) on Oct 29, 2004 at 09:37 UTC | |
|
Re: subroutine..help
by gube (Parson) on Oct 29, 2004 at 14:36 UTC | |
|
Re: subroutine..help
by artist (Parson) on Oct 29, 2004 at 15:14 UTC |