in reply to Re: Re: subroutine call
in thread differences between ways of calling subroutines

&foo;

will call your subroutine with the @_ array set to the arguments of the caller.

an example

bar("a","b"); sub bar { foo(); &foo(); &foo; } sub foo { ($a, $b)=@_; print "$a, $b\n"; }
the call to bar will now print
,
,
a, b