Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by rachitmohta11 (Novice)
on Jun 21, 2010 at 07:07 UTC ( [id://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 (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://845679]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-19 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found