in reply to Re^8: Pointers and References
in thread Pointers and References
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Pointers and References
by bliako (Abbot) on Nov 25, 2020 at 16:08 UTC |