[Israel.pm] Perl and Debugging question

Peter Gordon peter at pg-consultants.com
Sun May 13 21:28:33 EEST 2007


I have a class which I want to debug, and I normally use

<DB> x $self

to dump the whole structure.

On this occasion, one of the elements is a string a few megabytes long,
and I don't really want to dump the whole string.

What would be the nicest way to suppress printing of this particular
element.

I could print each element in turn, but that is inelegant.

Thanks,

Peter





More information about the Perl mailing list