Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Converting scalar value to hash

by Shaveta_Chawla (Sexton)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2016-12-03 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.