http://qs321.pair.com?node_id=215599


in reply to Re: File Locking
in thread File Locking

And what do you think truncate(MYFILE,0) does?

How can you just ignore that part?

    truncate FILEHANDLE,LENGTH
    truncate EXPR,LENGTH
            Truncates the file opened on FILEHANDLE, or named by EXPR, to
            the specified length. Produces a fatal error if truncate isn't
            implemented on your system. Returns true if successful, the
            undefined value otherwise.


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
** The Third rule of perl club is a statement of fact: pod is sexy.