http://www.perlmonks.org?node_id=845700


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

Sorry, but i could not understand.
Please tell me how does Dumper return the string..
  • Comment on Re^4: Read the Dumper data back to a hash.

Replies are listed 'Best First'.
Re^5: Read the Dumper data back to a hash.
by Anonymous Monk on Jun 21, 2010 at 13:15 UTC

    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.

Re^5: Read the Dumper data back to a hash.
by Herkum (Parson) on Jun 21, 2010 at 13:14 UTC

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