On 10/22/07, Rodrigo Tavares <[EMAIL PROTECTED]> wrote: > Hello, > > I would like, put element's array in hash table. > How I can do it ? >
Hi, use AoH,like, my @array = (1,2,3,4); my %hash = (key1 => [EMAIL PROTECTED]); then you can access the array's first element by, $hash{key1}->[0]; the second element by, $hash{key1}->[1]; and so on. see `perldoc perldata` for details. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/