You can't do
my @Aseen{...} = ...;
which is what Perl tells you. Split it up into two steps and Perl will understand you:
my %Aseen; @Aseen{ @a } = ()
Also, why are you copying the values from @$a_ref into @a just to use it to assign to %Aseen ? Why not use them directly for assigning?
@Aseen{ @$a_ref } = ()
In reply to Re: Syntax error for the following ???
by Corion
in thread Syntax error for the following ???
by mr_p
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |