Skip Menu |

This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id: 2753
Status: resolved
Priority: 0/
Queue: Archive-Tar

People
Owner: Nobody in particular
Requestors: adamk [...] ali.as
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.00
Fixed in: (no value)



Subject: IO::Scalar object causes script to die when you look at it in the debugger
In the perl debugger, looking at a IO::Scalar object, as follows, dies. $string = ''; $handle = IO::Scalar->new( \$string ); x $handle DB<5> x $handle 0 IO::Scalar=GLOB(0x804c1b4) -> *IO::Scalar::FH Can't locate object method "FILENO" via package "IO::Scalar" at /usr/lib/perl5/5.8.0/dumpvar.pl line 238. dumpvar::unwrap('IO::Scalar=GLOB(0x804c1b4)',3,-2) called at /usr/lib/perl5/5.8.0/dumpvar.pl line 118 dumpvar::DumpElem('IO::Scalar=GLOB(0x804c1b4)',3,-2) called at /usr/lib/perl5/5.8.0/dumpvar.pl line 223 dumpvar::unwrap('ARRAY(0x82ed988)',0,-1) called at /usr/lib/perl5/5.8.0/dumpvar.pl line 33 main::dumpValue('ARRAY(0x82ed988)',-1) called at /usr/lib/perl5/5.8.0/perl5db.pl line 2047 DB::dumpit('GLOB(0x8069e94)','ARRAY(0x82ed988)') called at /usr/lib/perl5/5.8.0/perl5db.pl line 32 DB::eval called at /usr/lib/perl5/5.8.0/perl5db.pl line 1323 DB::DB called at -e line 1 This makes it extroidinarily difficult to debug, as you can't look at the object.
Sorry, misfiled bug report. Delete at your leisure