On 9 Oct 2007 at 9:01, Jeff Pang wrote: > 2007/10/9, yitzle <[EMAIL PROTECTED]>:
> sub test { > my ($function, $description, $var, undef) = @_; > print $description . ": "; > print $function->($var) ? "Yes\n" : "No\n"; > } Can someone explain why there is a 4th, undefined variable being declared in test? It appears to work it too. sub test { my ($function, $description, $var) = @_ ... I'm sure there is a reason for it but I can't see it. Thanx, Dp. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/