Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: array splice vs hash splice

by chas (Priest)
on Jun 05, 2005 at 02:37 UTC ( [id://463634]=note: print w/replies, xml ) Need Help??


in reply to array splice vs hash splice

It's actually a "slice". @ is used because the returned value is a list. (A hash is not really printable in its native form - only the associated list is printable in a way readable by humans. That's probably why hashes don't interpolate in double quoted strings - it doesn't make much sense.)
chas

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found