You can use the shorter, more idiomatic:
my $var = shift;
The @_ is implied.
Cheers,
KM
In reply to RE: RE: using 'my $var' vs. 'my($var)'
by KM
in thread using 'my $var' vs. 'my($var)'
by decnartne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |