Peter Eisengrein wrote:
> 
> Like this?
> @list = ([%hash_one],[%hash_two],[%hash_three]);

I think he meant more like:

@list = (\%hash_one, \%hash_two, \%hash_three);

Of course then you're going to want ot know how to access them. :)

my %hash_one = ('a' => 1);
my %hash_two = ('b' => 2);
my %hash_three = ('c' => 3);

my @list = (\%hash_one, \%hash_two, \%hash_three);

foreach my $key (@list) {
        foreach (keys %{$key}) {
                print "$_=$key->{$_}\n";
        }
}
__END__

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED] 
  / ) /--<  o // //      http://dbecoll.webjump.com/ (Free Perl site)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to