Re: array of hashes of arrays...

2005-08-16 Thread Daniel Mueller
On Monday 15 August 2005 22.47, Ryan Perry wrote: > How can I do this correctly? > > > foreach my $col (@columns) { >my %{$col} = ( > string => "$col", > number => [EMAIL PROTECTED] > ); >push

RE: array of hashes of arrays...

2005-08-16 Thread Charles K. Clarkson
Ryan Perry wrote: : How can I do this correctly? : : : foreach my $col (@columns) { :my %{$col} = ( : string => "$col", : number => [EMAIL PROTECTED] : ); :push (@

Re: array of hashes of arrays...

2005-08-15 Thread Philip M. Gollucci
The Ghost wrote: How can I do this correctly? foreach my $col (@columns) { my %{$col} = ( # <-- I have a problem here, I want the hash to be named whatever "$col" is string => "$col", number => [EMAIL PROTECTED]

Re: array of hashes of arrays...

2005-08-15 Thread Peter Rabbitson
On Mon, Aug 15, 2005 at 04:08:22PM -0500, The Ghost wrote: > How can I do this correctly? > > > foreach my $col (@columns) { > my %{$col} = ( # <-- I have a problem here, I want > the hash to be named whatever "$col" is > string => "$col", >