arrays of hashes

2004-01-19 Thread Nick Djurovich
Hi, I'm currently doing something along the lines of this to create arrays of hashes ; my %data; sub filldata { my $type; foreach $type ('Reference','Object') { foreach (1..10) { my %info; GetData( \%info ); push ( @{$data{$type}}, \%info ); } } sub GetData { my

Re: arrays of hashes

2004-01-19 Thread Barry Dancis
AM Subject: arrays of hashes Hi, I'm currently doing something along the lines of this to create arrays of hashes ; my %data; sub filldata { my $type; foreach $type ('Reference','Object') { foreach (1..10) { my %info

Re: arrays of hashes

2004-01-19 Thread Todd Beverly
Hi. Nick Djurovich wrote: Hi, I'm currently doing something along the lines of this to create arrays of hashes ; my %data; sub filldata { my $type; foreach $type ('Reference','Object') { foreach (1..10) { my %info; GetData( \%info ); push