Keep It Simple, Stupid | |
PerlMonks |
Re^9: Pointers and Referencesby LanX (Saint) |
on Nov 25, 2020 at 13:55 UTC ( [id://11124195]=note: print w/replies, xml ) | Need Help?? |
I hope the distinction between list and arrays is clearer now, I know its confusing. E.g. this is a list assignment without literal list: @a = %a , ... the hash is unpacked into a list which is packed into an array. or here you need a literal list to init an array(-ref) : $a_ref = [ 1,2,3 ] Please feel free to ask. :)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|