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

Re: merge/add hash to hash-slice

by broquaint (Abbot)
on Jun 08, 2004 at 11:51 UTC ( #362288=note: print w/ replies, xml ) Need Help??


in reply to merge/add hash to hash-slice

You've got to dereference at the appropriate level e.g

@{ $run{$runtype}{$pid} }{keys %message} = values %message;
See. perlreftut and tye's References quick reference for more info on dereferencing complex structures.
HTH

_________
broquaint


Comment on Re: merge/add hash to hash-slice
Download Code
Re^2: merge/add hash to hash-slice
by pelagic (Curate) on Jun 08, 2004 at 11:56 UTC
    of course ... and thanks a lot!

    pelagic

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-01-31 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (261 votes), past polls