develooper Front page | perl.perl5.porters | Postings from July 2013

Re: perl needs safer implicit close

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
July 3, 2013 16:06
Subject:
Re: perl needs safer implicit close
Message ID:
20130703160632.25684.qmail@lists-nntp.develooper.com
rjbs wrote:
> We should issue a warning when an implicit close results in error.

You can see a first stab at that in the sprout/destroio branch.

> autodie.pm
> can then fatalize that warning.

Not possible, unless we change the way DESTROY works.

> We should also fatalize errors on the implicit
> close of the selected fh at END, to deal with errors during -i, for example.

That I have not done yet.  That *is* possible.


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