Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Accessing values of a Hash object

by dReKurCe (Scribe)
on Mar 24, 2007 at 06:19 UTC ( [id://606389]=note: print w/replies, xml ) Need Help??


in reply to Re: Accessing values of a Hash object
in thread Accessing values of a Hash object

Hi, Thanks for drawing attention to this syntax. Won't the value to the stringified key be in fact the anon array. That is the one flattened list. Its here that i thought I could do something like:
$self->{i}={[(110,FB),(100,F)]} ... $objinstance=Class::package(); $value=$objinstance->{i}; for (@$value){..do some code with (110,FB) and (100,F)}

Replies are listed 'Best First'.
Re^3: Accessing values of a Hash object
by davorg (Chancellor) on Mar 26, 2007 at 08:32 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-25 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found