The parenthesies can also be used to force list context.
my $string = 'aaa1234bbb'; my ($number) = $string =~ /(\d+)/;
In reply to Re: variable declaration question
by BillKSmith
in thread variable declaration question
by dicty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |