Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: help on reference to hash

by skyworld_chen (Acolyte)
on Jun 21, 2014 at 10:21 UTC ( [id://1090752]=note: print w/replies, xml ) Need Help??


in reply to Re^3: help on reference to hash
in thread help on reference to hash

Hi Dave,

that is not the reason. Original design is tclDefs and I'm sure I matched the name in original reference. I guess there maybe other reasons, but I can't find it. thanks.

Replies are listed 'Best First'.
Re^5: help on reference to hash
by AppleFritter (Vicar) on Jun 21, 2014 at 10:44 UTC

    In that case I'm not sure. The following works for me:

    #!/usr/bin/perl use feature qw(say); use Data::Dumper; $cliParms = { 'tcl_defs' => { my_var1 => 'a', my_var2 => 'b' } }; my %my_tcldefs = %{$cliParms->{'tcl_defs'}}; say Dumper(\%my_tcldefs);

    Could you post the code that's currently failing for you?

    P.S. I'm not Dave (davido).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-24 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found