use strict; my %hash = ( 1 => \$1, 2 => \$2 ); my $hash = 1; "aa bb cc" =~ /(aa)/ and print ${ $hash{$hash} },$/; __END__ aa
In reply to Re: Re: Re: how to dynamically declare a varialble?
by Anonymous Monk
in thread how to dynamically declare a varialble?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |