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


in reply to Re: Unifying namespaces of @name and $name... (bare lexicals)
in thread Unifying namespaces of @name and $name to simplify dereferencing?

BTW: there is a subtle difference between @arr=(1,2,3) and $arr=[1,2,3] , the first is reusing the allocated space (eventually expanding) to store the list , the latter assigning a ref to a newly allocated memory location.

One needs both!

In a language without sigils you have to invent list mechanisms to implement this.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!