Greetings all

I've got the hang of hashes of hashes and of hash slicing but not getting
the two to work together!

I've got a function which calculates and returns a small hash of data.
I need to run the function several times for different schemes and then
compare the results at the end.
Is there an easier way of collating the data in the HoH other than

  foreach $scheme_key (keys %scheme_hash) {

       my %calc_hash = calc_function($scheme_key)

       foreach (keys %calc_hash) {
             $scheme{$scheme_key}{$_} = $calc_hash{$_};
       }

  }

Many thanks in advance

James


_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to