hmerijn brand ktnrvaexs4allnl wed 31 oct 2007 104151 0000 zefram wrote hmerijn brand wrote local e believe useful localise three local always triggers look three related often overlooked agree apply output streams use input streams current status output channel localising anything itll result false value destructor write output channel modifying destructor run reflect true current state gets analysis variables reflect persistent state plenty bugs found bound current selected handle switch another handle select values change way often still dont status variables theyre control variables changes happen direct program control anything thats implicitly less true also always case go deeper many users format let alone people switch handle writes nest write calls run changes particular filehandle expected localisation appropriate dare check five recommend localising status variables reflect result last operation certain kinds status needs preserved across stack unwinding read code knows operation occurred especially gets set status variable situation inherently triggers unwinding hmerijn brand amsterdam perl mongers httpamsterdampmorg using porting perl 562 58x 510x hpux 1020 1100 1111 1123 suse 101 102 aix 52 cygwin httpqaperlorg httpmirrorsdeveloopercomhpux httpwwwtestsmokeorg httpwwwgoldmarkorgjeffstupiddisclaimers thu 07 aug 2008 092528 0000 iopipeend destroy shouldnt close called