You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Arthur Bergman <ar...@contiller.se> on 2001/08/11 16:27:31 UTC

PerlIO

How does mod_perl 2.0 deal with, and interact with PerlIO?

Any document/source file  can read to gain knowledge?

Thanks
Arthur


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: SV: PerlIO

Posted by Doug MacEachern <do...@covalent.net>.
On Sun, 12 Aug 2001, Arthur Bergman wrote:
 
> A perl compiled with perlio, how does it work with apache which is
> compiled with stdio? I guess apache 2.0 must hopefully be doing some
> good tricks with the unsafe stdio functions to achive speed, is there
> any way for perlio to use that?

apache has its own i/o wrappers in libapr, if there is something that
needs locking it is taken care of in there.  i'm sure it would be possible
to define a perlio layer in terms of libapr functions.  the only place
apache and perlio currently come anywhere near each other would be writing
to stderr i believe.

> How does apache 2.0 deal with reentrant _r functions? Are there any
> potenial clashes? Can we borrow thier work, will our redefining of
> functions to become _r create any problems?  

these are also wrapped in libapr, i don't think there are any potential
clashes.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


SV: PerlIO

Posted by Arthur Bergman <ar...@contiller.se>.


> On Sat, 11 Aug 2001, Arthur Bergman wrote:
> 
> > 
> > How does mod_perl 2.0 deal with, and interact with PerlIO?
> 
> it doesn't, yet.  we still use tied filehandles.  PerlIO needs some work
> before it is production ready, i'd rather wait until it is stable before
> working on hooking into it from modperl-2.0.
> 

I didn't mean at the perl level, I meant deeper down, actually it boils down to.

A perl compiled with perlio, how does it work with apache which is compiled with stdio? I guess apache 2.0 must hopefully be doing some good tricks with the unsafe stdio functions to achive speed, is there any way for perlio to use that?

How does apache 2.0 deal with reentrant _r functions? Are there any potenial clashes? Can we borrow thier work, will our redefining of functions to become _r create any problems?

I guess the best way for me to find out is to install apache 2.0 and mod_perl 2.0 and 5.7.2 and try it :) I better do that.

Arthur


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: PerlIO

Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 11 Aug 2001, Arthur Bergman wrote:

> 
> How does mod_perl 2.0 deal with, and interact with PerlIO?

it doesn't, yet.  we still use tied filehandles.  PerlIO needs some work
before it is production ready, i'd rather wait until it is stable before
working on hooking into it from modperl-2.0.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org