tall_man has asked for the wisdom of the Perl Monks concerning the following question:
When I interrupt the call under "perl -d", I am always somewhere in utf8_heavy.pl.
Also, I get the following message when using -d:ptkdb, at exit time:tf8::SWASHNEW(/opt/acs/perl/lib/perl5/5.8.0/utf8_heavy.pl:167): 167: my $val = hex(defined $3 ? $3 : "");
Does anyone know of interactions between utf8 and the debugger that would cause slowdowns and reference problems? I am using perl 5.8.0. I have seen the same problem under Linux and Windows NT.DESTROY created new reference to dead object 'utf8' during global dest +ruction.
Here is some sample code to reproduce the problem:
use strict; use XML::Simple; my $data; { local $/; $data = <DATA>; } my $config = XMLin($data); print "config read\n"; __DATA__ <config logdir="/var/log/foo/" debugfile="/tmp/foo.debug"> <server name="sahara" osname="solaris" osversion="2.6"> <address>10.0.0.101</address> <address>10.0.1.101</address> </server> <server name="gobi" osname="irix" osversion="6.5"> <address>10.0.0.102</address> </server> <server name="kalahari" osname="linux" osversion="2.0.34"> <address>10.0.0.103</address> <address>10.0.1.103</address> </server> </config>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XMLin slow in debug mode?
by BrowserUk (Patriarch) on Jul 09, 2003 at 17:23 UTC | |
by tall_man (Parson) on Jul 09, 2003 at 19:25 UTC | |
by BrowserUk (Patriarch) on Jul 09, 2003 at 20:10 UTC | |
|
Re: XMLin slow in debug mode?
by flounder99 (Friar) on Jul 09, 2003 at 16:35 UTC | |
|
Re: XMLin slow in debug mode?
by grantm (Parson) on Jul 10, 2003 at 09:51 UTC |