On 11/30/06, Jarkko Hietaniemi <jhi@iki.fi> wrote: > > > > Attached is the output of running "perl -Mblib test.pl" in my Foo module > > with PERLIO_DEBUG pointing to a file. > > > > This time the test program dies with "refcnt_dec: fd 4: 0 <= 0" > > (presumably debug.txt itself is now fd 3). > > > > I'm not sure that it helps me very much. > > > > I'm leaving now, but I'll have a closer look tomorrow (unless you've > > sorted it all out by then ;-) > > You left out the test.pl. I think he means the one that is bundled with his test distro in his earlier reply to me. Which reads: use strict; use warnings; use Foo; local(*FH); fopen(*FH, 'MANIFEST', 'r'); close(FH); print "OK\n"; -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next