At 10:42 AM 11/29/00 +0000, Nick Ing-Simmons wrote:
>Dan Sugalski <dan@sidhe.org> writes:
> >At 07:03 PM 11/28/00 +0000, Tom Hughes wrote:
> >>In message <5.0.1.4.0.20001127170630.024481b0@24.8.96.48>
> >> Dan Sugalski <dan@sidhe.org> wrote:
> >>
> >> > The third parameter is the flags parameter, and it's optional. If
> omitted
> >> > or set to PERL_CHAR_SOURCE, the second parameter is treated as a
> standard
> >> > null-terminated string. If set to PERL_COUNTED_SOURCE, the second
> parameter
> >> > is treated as if it points to a stream of bytes, where the first
> four are
> >> > the length of the source to be read followed by the source. If set to
> >> > PERL_FILE_SOURCE it's assumed to be a FILE *, while if set to
>
>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.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk
Thread Previous
|
Thread Next