sub mysub { my ($foo, $bar) = @_; #do stuff with $foo and $bar }