2012/3/28 Chris Stinemetz <chrisstinem...@gmail.com>: > I simply want to test to see if @hours exists as a second > key in the hash of hashes %data.
> foreach my $cell ( @wanted ) { > print "$cell:"; > foreach my $hr ( @hours ) { > if ( defined keys %{ $href->{$hr}}){ if ( defined $href->{$cell}{$hr}){ > print "\t$href->{$cell}{$hr}"; > } > else { > print "\t"; > } > } > print "\n"; > } -- Regards, Alex -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/