On Mon Jul 11 15:35:54 2016, zefram@fysh.org wrote: > Father Chrysostomos via RT wrote: > >I don't know the solution to that particular problem. > > Whether a particular I/O handle should be warned for, upon implicit > close, seems like a feature of the handle, which should be stored as > a flag in the handle structure. Obviously the flag state has to be > initialised upon opening, and by default the flag could reasonably be > set according to the warning flag prevailing *at the point of the open*. > (It should also be possible to control the flag explicitly per handle. > This could be done as a self-popping I/O layer, which would allow both > setting the flag during open and changing it later.) I have opened ticket #128597 for that. -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=128597Thread Previous | Thread Next