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

Re: perl needs safer implicit close

Thread Previous | Thread Next
Father Chrysostomos
July 3, 2013 16:06
Re: perl needs safer implicit close
Message ID:
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.

> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About