Hello,
if you are using square brackets, you are creating a reference. To create an anonymous array ref do this:
$arrayref = ['a', 'b', 'c'];
To find out more about references, read:
perldoc
perlref
Or the short version of perlref, wich only contains the very neccessary information:
perldoc perlreftut
snadra