lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Jul 28, 2004 at 02:32:58AM +0300, Asko Kauppi wrote:
> It's not the question it couldn't be done (I already did, with a clumsy 
> for loop).  It's a question on how cleanly it could be done.  Sorry to 
> say :) but your example looks like Perl.. (no offense)

True, but wouldn't it also be a Perlism to include such a redundant
function? Possibly string.lines has a place in stdlib, but enlarging
the built-in libraries to help a few people avoid typing a one-liner
doesn't seem right.

-- Jamie Webb