in reply to Array Without using array

Square brackets introduce an "anonymous array", which is in fact an array reference. You can then dereference the reference (by using @{ $ref } or shorter @$ref) to get the referenced array back.

I can't say whether what you tried was right. It's something you can do in Perl, but why do you need to avoid having the actual array in the first place?

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ