in reply to Re: data leak using package
in thread data leak using package

Nice try - but it's not that!!

It's got to do with renaming the file immediately before using it in the lib file. Not sure why that's happening (details above).

Thanks for your help

Replies are listed 'Best First'.
Re^3: data leak using package
by davorg (Chancellor) on Feb 07, 2007 at 11:08 UTC
      That's great, thanks to all - using indirect File Handles would have presumably saved me from that so help from all three contributors. I'm very grateful...
        using indirect File Handles would have presumably saved me from that

        Indirect filehandles get automatically closed (and therefore flushed) when the variable holding them goes out of scope. So it may have solved your problem, but only if the filehandle variable went out of scope before you renamed the file. This technique doesn't automatically solve your problems.