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

Re: [PATCH] Re: [perl #20551] Documentation error for IO::Select

Thread Previous
From:
Rafael Garcia-Suarez
Date:
March 8, 2003 12:51
Subject:
Re: [PATCH] Re: [perl #20551] Documentation error for IO::Select
Message ID:
20030308215151.053af2f2.rgarciasuarez@free.fr
Richard Soderberg wrote:
> > Most likely it was meant to be:
> >
> > @ready = IO::Select->new(@handles)->can_read(0);
> 
> Updated (non-reversed) patch attached, against @18703.
> 
> > And while I have your attention, I'd advise to change any reference to 
> > ERROR (the third mask) to EXCEPTION everywhere.
> 
>  From IO/Select.pm:
> 
>      warn("Call to deprecated method 'has_error', use 'has_exception'")
> 
> The code agrees with you; apparently errors are now called exceptions.  
> Revised patch attached updates uses of "error" to "exception" as well.

Thanks, applied as #18853.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About