Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: deleting multiple hash keys

by Lawliet (Curate)
on Mar 01, 2009 at 00:27 UTC ( #747232=note: print w/ replies, xml ) Need Help??

in reply to deleting multiple hash keys

As you already know, scalars are a single value and are represent by a dollar sign. This is why when accessing one value from a hash you use the dollar sign. '@' is associated with multiple values (specifically, arrays, which are multiple scalars). Thus, when accessing multiple scalars from a hash, you use the @ sign.

I believe this is changing in Perl 6 due to the confusion it brings.

And you didn't even know bears could type.

Comment on Re: deleting multiple hash keys

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-11-29 11:39 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls