Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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??


Comment on Re: Converting scalar value to hash
Download Code
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 romping around the Monastery: (7)
As of 2014-07-29 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls