Guillermo wrote:
> I dont know how can I store and recover data to/from a hash table
> which values are arrays.
perldoc perlreftut
perldoc perlref
I don't understand what the code you posted is supposed to do, but I
noticed that you tried to assign an array to a hash element:
> $data{$node} = @attributes;
which can't be done. You need to assign a reference to the array:
$data{$node} = \@attributes;
Guess you have some reading to do.
Good luck!
--
Gunnar Hjalmarsson
Email:
http://www.gunnar.cc/cgi-bin/contact.pl