Chas Owens wrote:
> On 3/20/07, Mathew Snyder <[EMAIL PROTECTED]> wrote:
> snip
>>                 $timeworked =
>> $env{$transaction->Creator}{$transaction->TimeTaken};
> snip
> 
>> From this line you can see that %env is a HoH (hash of hashes).  This
> means that if you want to print it out you need two loops: one for the
> first layer and one for the second.
> 
> for my $first_key (sort keys %env) {
>    for my $second_key (sort keys %{$env{$first_key}}) {
>        print "$first_key :: $second_key =>
> $env{$first_key}{$second_key}\n";
>    }
> }
> 

Thanks Chas.  I had tried that but as Rob mentioned earlier, it appears nothing
is being placed in the hash in the first place.

Mathew

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to