in reply to Re: empty a file
in thread empty a file

Forgot to mention that I am opeing this file in append mode.
So I can not open it in write mode.

Replies are listed 'Best First'.
Re^3: empty a file
by valdez (Monsignor) on Jun 27, 2004 at 16:21 UTC

    perldoc -f truncate

    Ciao, Valerio

      Thanks , That's what I was looking for
Re^3: empty a file
by Joost (Canon) on Jun 27, 2004 at 16:19 UTC
    A reply falls below the community's threshold of quality. You may see it by logging in.