I read your code and think that you mean something like
$content{$selector[1]} = \@inline;When you use %hash you say eg$hash{'key'} = "Something". When you use an array eg @array you use eg $array[1] = "Something".
In case you don't know putting the following at the top of your scripts turns on useful warnings that help you catch problems quickly.
Update: OK, OK! I had not seen anywhere that you could do @hash{'key1', 'key2', 'key3'} = ('value1', 'value2', 'value3'); I am sorry! See Aristotle reply for explanation --blm--use strict; use warnings;
In reply to Re: Assignment of Arrays of Hashes
by blm
in thread Assignment of Arrays of Hashes
by Tanalis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |