develooper Front page | perl.perl5.porters | Postings from March 2003

Re: shift // 0 fixed

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
March 29, 2003 09:21
Subject:
Re: shift // 0 fixed
Message ID:
20030329164316.GJ274@Bagpuss.unfortu.net
On Mon, Aug 26, 2002 at 11:44:36AM +0200, Rafael Garcia-Suarez wrote:
> Quoting Nicholas Clark <nick@unfortu.net>:
> > 
> > > readline // 0 (not yet useful : readline() doesn't work ...)
> > 
> > What should readline() do? read from ARGV? or STDIN?
> 
> I think it should be equivalent to <>, i.e. to readline(*ARGV).
> (CORE::readline currently has a ;$ prototype.)
> 
> > And is there a TODO test to encourage it to be fixed?
> 
> I don't think so. readline has various syntax problems.

Do you have/can you point me to a list?

I'd be quite happy to try to write TODO tests, as then I feel I can tidy
this part of my mailbox into /dev/null with a clean conscience.

Nicholas Clark

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