On Sat, 19 Aug 2000, Peter Scott wrote:
> -io guys, I've been looking through your archives at the line discipline 
> stuff and I don't see this there: what do you think?  The proposal is for a 
> mode that specifies a maximum number of characters to be returned by a 
> getline (<>) so that paranoid programs can set it to a large number to 
> prevent them taking up gobs of memory if someone throws zillions of 
> characters sans newline at the input.  The question of what to do with the 
> part not read (throw away, or return on next read) could be another mode 
> switch perhaps?  I'm new to the -io list, I'm not sure if this makes sense.

I know I mentioned something similar to this when touching on line
disciplines before the line discipline discussion actually started. 
Look at "Re: RFC 69 (v3) Standardize input record separator (for"
(http://www.mail-archive.com/perl6-language-io@perl.org/msg00069.html)
and see if :block is the same as what you're talking about.

(And I'll add, I don't think the rest of the line should be thrown
away.)

 --  
Bryan C. Warnock
([EMAIL PROTECTED])

Reply via email to