Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: dereferencing array ref in a hash ref

by Gangabass (Vicar)
on Jul 17, 2012 at 07:18 UTC ( #982159=note: print w/replies, xml ) Need Help??


in reply to dereferencing array ref in a hash ref

@ids = @{ $result->{$serviceType}->{$serviceId} }

Replies are listed 'Best First'.
Re^2: dereferencing array ref in a hash ref
by akagrawal3 (Beadle) on Jul 17, 2012 at 08:34 UTC
    You have used scalar variables which doesnt work.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://982159]
help
Chatterbox?
[cbeckley]: I have a functioning module I use to spawn sets of commands across multiple servers.
[cbeckley]: It's nascent, and probably looks like baby Perl to the veterans.
[cbeckley]: I have several questions about it's future development. But it seems like a lot of code to put in a sopw.
[cbeckley]: Should I put the module and example calling code in cufp, and then ask questions in sopw?
[haukex]: You can put it in SOPW, but use <readmore> tags
[haukex]: Also you might want to label it "code review"

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2017-03-24 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (304 votes). Check out past polls.