Hi there!

I'm trying to create a hash of array of hashes, which seems to success with the following command:

my %fileresults = { "NULL" => ( "NULL", 0, { "NULL" => ( "<NULL>", 0 ) } ) };

The complete structure is as follows:

fileresults = hash1
key = string
value = array ( string, integer, hash2
key = integer
value = array ( string, string ) )


However when I want to update the values of hash2 using the command

%fileresults->{$key}->[2]->{$key2} = ($msg,$size);

I get the error: ot an ARRAY reference at ./nntpscan.pl line 166.

My question is ... where am I flawed ?

Any help would be greatly appreciated !

Greetings,

Nils.

--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and dance like no one can see you.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to