in reply to
using 'my $var' vs. 'my($var)'
@_ is an array so assigning it a scalar doesn't work (at least I don't think it does). By placing the scalar value in parentheses you are effectively assigning the first value of the array to the scalar.
Comment on
RE: using 'my $var' vs. 'my($var)'
In Section
Seekers of Perl Wisdom