develooper Front page | perl.perl5.porters | Postings from November 2006

Re: Trouble with PERLIO_INIT/PERLIO_TERM changes

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
November 30, 2006 01:49
Subject:
Re: Trouble with PERLIO_INIT/PERLIO_TERM changes
Message ID:
456E3C33.2020205@iki.fi

> 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";

Okay, thanks.  Can't quite test it since I don't have Foo.o (or Foo.xs)
and therefore XSLoader is unhappy.

Basically the thing with the PERLIO_DEBUG log is that open (and up)
increment the refcnt, close decrements it.  If they don't match,
something is internally wrong with perlio, or something bypassed
perlio.





Thread Previous | Thread Next


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