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

Re: Trouble with PERLIO_INIT/PERLIO_TERM changes

Thread Previous | Thread Next
Jarkko Hietaniemi
November 30, 2006 01:49
Re: Trouble with PERLIO_INIT/PERLIO_TERM changes
Message ID:

> 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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About