develooper Front page | perl.perl6.internals.api.parser | Postings from November 2000

Re: The external interface for the parser piece

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
November 29, 2000 02:43
Subject:
Re: The external interface for the parser piece
Message ID:
200011291042.KAA25085@mikado.tiuk.ti.com
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.

-- 
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.


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