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.
use strict;
use warnings;
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--