foo($bar, $baz); # ... sub foo{ print "$_"; #will first print out the contents of $bar, then $baz ...