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
In reply to subroutine..help by dee00zee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |