sub printargs { my $i = 1; printf "%d %s\n", $i++, $_ foreach @_; } [download]
In reply to Re: Functions in Perl by nkuitse in thread Functions in Perl by bluethundr