in reply to Re: Why do we nned to close filehandles?
in thread Why do we need to close filehandles?

Filehandles are closed automatically at the end of script but if script teminates abruptly giving some error then what happens?..

downloaded pdf was always malformed : does it affect txt files as well?.. Or just some formats are affected?

  • Comment on Re^2: Why do we need to close filehandles?

Replies are listed 'Best First'.
Re^3: Why do we need to close filehandles?
by Anonymous Monk on Apr 30, 2011 at 09:16 UTC
    Filehandles are closed automatically at the end of script but if script teminates abruptly giving some error then what happens?..

    They go the the bit bucket.

    downloaded pdf was always malformed : does it affect txt files as well?.. Or just some formats are affected?

    Dear tej, incomplete file is incomplete :) please read Filehandle, File Handles (Windows)