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

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

From:
Nick Ing-Simmons
Date:
March 5, 2000 03:21
Subject:
Re: [PATCH 5.5.660] improved semantics for assign to pseudohash
Message ID:
E12RZ6B-0006qx-00@mserv1c.u-net.net
Michael G Schwern <schwern@pobox.com> writes:
>On Mon, Feb 28, 2000 at 09:32:33AM -0500, John Tobey wrote:
>> Run "perl -MO=Terse -e '%x=()'" or "perl -Dx -ce '%x=()'" to see the
>> tree structure we're stepping around in.
>
>Ooooh, B::Terse.  I'll have to remember that.  Much more readable than
>-Dx.  Thanks.
>
>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.

In gdb (with -DDEBUGGING on the perl) you can 

call Perl_sv_dump(sv)

-- 
Nick Ing-Simmons




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About