in reply to Re: Data::Dumper in perl-only?
in thread Data::Dumper in perl-only?

Ahhh... very interesting... See, this is why I need Perl Monks to enlighten me. I wouldn't have guessed that the stringified version gave more than ref() did. Thanks, theorbtwo!

Replies are listed 'Best First'.
Re: Re: Re: Data::Dumper in perl-only?
by demerphq (Chancellor) on Jan 24, 2002 at 14:43 UTC
    Er. Actually you want to watch out that the objects dont have "" overloaded.

    In order to be totally safe you need to use

    overload::StrVal($obj)
    Also, instead of the above mentioned Data::Denter (which I dont like) I would recommend Data::Dump (which I do).

    Yves / DeMerphq
    --
    Data::PrettySimple

      Ahhh.. Data::Dump is so much nicer than Data::Dumper. I like it too!