In message <5.0.1.4.0.20001129093609.02450ec0@24.8.96.48>
Dan Sugalski <dan@sidhe.org> wrote:
> At 10:42 AM 11/29/00 +0000, Nick Ing-Simmons wrote:
>
> >FILE * is not a good idea. PerlIO * is fine.
>
> The problem with that is we're potentially getting the filehandle from
> something that isn't perl. Or so my thinking went at the time. Right
> now I'm thinkng that I need to rethink things.
That shouldn't matter so long as there's a simple way to create
a PerlIO * from a FILE * or whatever.
That's probably something that needs to be specific to different
language bindings - if you're embedding perl in C++ you probably
have an iostream, and if you're embedding in Java you'll have a
Java stream object. In each case you'll want an easy way to create
a PerlIO object from that.
Tom
--
Tom Hughes (tom@compton.nu)
http://www.compton.nu
Thread Previous
|
Thread Next