in reply to Re^2: Array of hashes reference problem
in thread Array of hashes reference problem

here's the whole code segment
I doubt that. This code won't parse.

When using strict, you have to declare $arrayAoH first. Besides,

$arrayAoH$j{$key} = $value;
should read:
$arrayAoH[$j]{$key} = $value;
and
if (($arrayAoH$j{"Model Number"} !~ m/^Foo/)){
should be
if (($arrayAoH[$j]{"Model Number"} !~ m/^Foo/)){
Please post actual code...

Paul

Replies are listed 'Best First'.
Re^4: Array of hashes reference problem
by tlemons (Novice) on Jun 22, 2005 at 18:30 UTC
    Sorry. I added the definition of the array. The brackets around the array subscripts are there in the code; this web site's parser eats them. Thanks tl