Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: meaning of '@' sigil on a hash?

by plobsing (Friar)
on Dec 08, 2007 at 17:57 UTC ( [id://655852]=note: print w/replies, xml ) Need Help??


in reply to meaning of '@' sigil on a hash?

'@': You are enforcing an order on a hash, effectively making it a list. So now you get to treat it as a list.
'$': Ordinary hash lookup gets one element of a hash which you get to treat like a scalar.

Log In?
Username:
Password:

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

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

    No recent polls found