Re: Iterated Hash Names

2007-10-01 Thread Paul Lalli
On Sep 30, 11:30 am, [EMAIL PROTECTED] (Mathew Snyder) wrote: > I'm trying to create an array of hashes with hash names that are simply > "user1", > "user2", "user3", etc. Stop. Go read: perldoc -q "variable name" Then come back and ask your question. Paul Lalli -- To unsubscribe, e-mail:

Re: Iterated Hash Names

2007-10-01 Thread Jenda Krynicky
From: Mathew Snyder <[EMAIL PROTECTED]> > I'm trying to create an array of hashes with hash names that are simply > "user1", > "user2", "user3", etc. How do I use this method when adding one of the hashes > to the array? > > my $user = "user" . $i; > > (build hash...) > > push @userData, hash

Re: Iterated Hash Names

2007-09-30 Thread Jeff Pang
2007/9/30, Mathew Snyder <[EMAIL PROTECTED]>: > I'm trying to create an array of hashes with hash names that are simply > "user1", > "user2", "user3", etc. How do I use this method when adding one of the hashes > to the array? > > my $user = "user" . $i; > > (build hash...) > > push @userData, ha

Iterated Hash Names

2007-09-30 Thread Mathew Snyder
I'm trying to create an array of hashes with hash names that are simply "user1", "user2", "user3", etc. How do I use this method when adding one of the hashes to the array? my $user = "user" . $i; (build hash...) push @userData, hash Would it be %$user? %{$user}? Some other variation on that