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