I generally do as gaal suggests. However, if this were impossible, and if you had a long list of regex capture variables, you could always do:
my ( $this, $that, $some, $other, $foo, $bar, $baz ) = ( $1 .. $+ );dave
In reply to Re^2: Perl oddities
by Not_a_Number
in thread Perl oddities
by brian_d_foy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |