Just a quick tangential comment: it should be possible to specify the 
maximum number of characters that a readline() will do on a filehandle.  I 
couldn't find this in IO::Handle which seems to be where the user-defined 
line disciplines are inheriting their methods?  Anyway, obvious application 
is to harden scripts against DoS attacks with endless inputs filling up the 
memory buffers while still allowing programmer to use <>.
--
Peter Scott
Pacific Systems Design Technologies

Reply via email to