And, the OP should use "use strict;" and either "-w" on the first perl line or "use warnings;".sub coor { my $c = shift; # get 1st argument my $d = shift; # get 2nd argument return ( $c + 109, $d + 5 ); }
In reply to Re^2: subroutine..help
by hmerrill
in thread subroutine..help
by dee00zee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |