in reply to How to extract a row or column of two-dimensional hash
It is difficult to read your code without code tags. See Writeup Formatting Tips.
The code you provided does not compile due to a few syntax errors:
Is it possible for you to show a little of the structure and contents of BodyTemp? You could do this with:
use Data::Dumper; print Dumper(\%BodyTemp);
You may also find HASHES OF HASHES helpful in figuring out how to access this type of data structure.
Also, it is a good practice to use the strictures:
use warnings; use strict;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to extract a row or column of two-dimensional hash
by PerlKitten (Novice) on Jan 11, 2008 at 21:01 UTC | |
by merlyn (Sage) on Jan 11, 2008 at 21:37 UTC | |
by toolic (Bishop) on Jan 11, 2008 at 21:56 UTC | |
by PerlKitten (Novice) on Jan 15, 2008 at 03:51 UTC |