Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Read the Dumper data back to a hash.

by rachitmohta11 (Novice)
on Jun 21, 2010 at 07:07 UTC ( #845679=note: print w/ replies, xml ) Need Help??


in reply to Re: Read the Dumper data back to a hash.
in thread Read the Dumper data back to a hash.

What is $string in eval $string? Is it the file handle?


Comment on Re^2: Read the Dumper data back to a hash.
Replies are listed 'Best First'.
Re^3: Read the Dumper data back to a hash.
by ikegami (Pope) on Jun 21, 2010 at 07:10 UTC

    The string returned by Dumper.

      Sorry, but i could not understand.
      Please tell me how does Dumper return the string..

        Try it and see!

        my $string = Dumper {foo=>'bar'};

        From now on, always have a 'test.pl' file in your development directory. Whenever you're not sure, type in that file, and then Try It And See.

        It is like the Matrix, you should just try it and see for yourself...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2015-07-30 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls