in reply to dereferencing hash within a hash within an array
Any help will be greatly appreciated.
I'll help format it so it is at least readable.
my $x = 0; my $numpix = @data; while ($data[$x]) { my ($i, @orderdata, %myhash); foreach $i (1 .. $x) { if ($i == $data[$x]{'picorder'}) { $myhash{'orderline'} = "<option value=\"$i\" selected>$i</ +option>"; } else { $myhash{'orderline'} = "<option value=\"$i\" selected>$i</ +option>"; } push (@orderdata, \%myhash); } $data[$x]{'orderdata'} = \@orderdata; if ($data[$x]{'anaglyph'} eq "Yes") { $data[$x]{'anaglyph'} = "checked"; } $x++; }
I don't see the error though.
-sauoq "My two cents aren't worth a dime.";
|
|---|