Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^9: Pointers and References

by LanX (Saint)
on Nov 25, 2020 at 13:55 UTC ( [id://11124195]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Pointers and References
in thread Pointers and References

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
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^10: Pointers and References
by bliako (Monsignor) on Nov 25, 2020 at 16:08 UTC

    Sure, thanks! I will ask if I have a problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11124195]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-24 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found