in reply to bad index while coercing array into hash
According to the Dump, $file is an AoH (Array of Hashes) calling foreach $t(keys %$file) tries to refer to the array as a hash. You need to say
foreach $t(@{$file}) { foreach $tt(keys %{$t}){ print "\nt= $tt v=" . $t->{$tt}; } }
Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphors.
|
|---|