http://www.perlmonks.org?node_id=282794


in reply to Lost in doc

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