Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Hash element access -dereferenced hashes

by choroba (Chancellor)
on Dec 06, 2012 at 10:53 UTC ( #1007533=note: print w/replies, xml ) Need Help??


in reply to Re: Hash element access -dereferenced hashes
in thread Hash element access -dereferenced hashes

syntax error at ./1.pl line 2, near "=> ="
Please, post the real code.

After fixing that, just switch the hashes. $map{Lucy} does not exist.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007533]
help
Chatterbox?
[LanX]: $; exists, so does the glob
[GotToBTru]: $; is "useful for emulating multi-dimensional arrays in Perl4"
[LanX]: i.e. &; is parsable
[LanX]: it's sometimes useful in P5 too
[LanX]: but I don't understand the question...
[GotToBTru]: okay, I see what it does
[GotToBTru]: you;ve answered it .. the expression is meant to be evaluated as written, it is not a symbol for a special operation
[LanX]: '&;@' is a parsing error
[GotToBTru]: by itself, yes, but used in sub pre(&;@) not so
[LanX]: &; is interpreted as a function call, but the @ has no meaning

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-01-18 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (164 votes). Check out past polls.