#!/usr/local/bin/perl print add(1,2); sub add{ return $result = ($_[0] + $_[1]); }
In reply to Re: Re: Returning Values from Subroutines
by mojobozo
in thread Returning Values from Subroutines
by johnirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |