develooper Front page | perl.perl5.porters | Postings from February 2000

Re: [PATCH 5.5.660] improved semantics for assign to pseudohash

Ilya Zakharevich
February 28, 2000 17:46
Re: [PATCH 5.5.660] improved semantics for assign to pseudohash
Message ID:
Michael G Schwern writes:
> Ooooh, B::Terse.  I'll have to remember that.  Much more readable than
> -Dx.  Thanks.

Tastes differ.  But it would not be hard to beaf up the output of
B::Terse to match the info of -Dx.

> As long as I'm asking, is there an equivalent to Data::Dumper for C
> debugging?  I find myself wanting to inspect the internals of SVs and
> AVs, but all the inspection stuff is macros.

use Devel::Peek;	      # should not be needed with -DDEBUGGING perl

Then call Perl_sv_dump(sv) inside your C debugger.  This probably
will not work on systems with link-time dynamic linking, since
Devel::Peek's DLL most probably is not exporting Perl_sv_dump

Ilya Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About