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
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^9: Pointers and References
by LanX
in thread Pointers and References
by Leudwinus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |