in reply to using 'my $var' vs. 'my($var)'
You can use the shorter, more idiomatic:
my $var = shift; [download]
The @_ is implied.
Cheers, KM