in the past i have always created anon hashes setting arrays = arrays. well, this time it should have been scaler = scaler, but i just didn't see it. everything else fell out of doing that all wrong. code i ended up using:
and <P> then you have:<BR><P>$hash{12}{1} which prints "then you have STRING".my %hash; foreach my $string ( $try->param ) { if ( $string =~ m/(\d+)_(\d+)/ ) { $hash{$1}{$2} = $try->param($string); } }
In reply to RE: Re: hash name not sticking?
by jptxs
in thread hash name not sticking?
by jptxs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |