Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 having an uproarious good time at the Monastery: (10)
As of 2015-08-28 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (339 votes), past polls