John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:

In a previous question on Data::Dumper, someone suggested the "deparse" option. However, I can't find any such option. There is also the note about using seen, but the example in the POD doesn't even compile.

I checked CPAN, and the latest seems to be from 1999, so y'all aren't looking at a newer version than the one I have. Does anybody know more about these undocumented features?

—John

Replies are listed 'Best First'.
Re: Data::Dumper features?
by pg (Canon) on Dec 31, 2002 at 05:10 UTC
    The person who suggested the deparse option is me. I got it from activestate Perl 5.8.0 documentation. Hold on, I will check for you, whether there is an online version.

    Got it for you: Data::Dumper, go there, and search for the word "deparse".

    I don't find it in 5.6.1 documentation, so you may need to download Perl 5.8.0, in order to use this.
      Hmm, the link you sited gives a version number of "Version 2.12 (unreleased)". That's newer than the one in CPAN. I suppose it's updated "in house" (that site is for the company where GSAR works, right?) but not pushed out to the public. Or he doesn't use CPAN anymore now that he works for the big corporation?

      So this is the version that comes with ActiveState's 5.8 (though I guess not the standard 5.8, or it would be in CPAN)?

      Thanks for the link.

      —John

Re: Data::Dumper features?
by chromatic (Archbishop) on Dec 31, 2002 at 05:11 UTC

    Checking perldelta for 5.6.0 doesn't say anything, while for 5.8.0 it does. I think it was added in 5.8.