Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Converting scalar value to hash

by Shaveta_Chawla (Acolyte)
on Sep 24, 2012 at 05:52 UTC ( #995294=note: print w/ replies, xml ) Need Help??


in reply to Converting scalar value to hash

Hi, I have used
my %real_hash = ( 'response' => {'result' => $results} ); %real_hash = Dumper(%real_hash); $r->print( %{real_hash} );
to print the value. Is there any optimized code other than this??

Replies are listed 'Best First'.
Re^2: Converting scalar value to hash
by Anonymous Monk on Sep 24, 2012 at 06:18 UTC

    to print the value. Is there any optimized code other than this??

    For what, what are you trying to do? What do you think that code accomplishes?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2016-06-24 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (322 votes). Check out past polls.