Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

perlfunc:truncate

by gods (Initiate)
on Aug 24, 1999 at 22:42 UTC ( [id://260]=perlfunc: print w/replies, xml ) Need Help??

truncate

See the current Perl documentation for truncate.

Here is our local, out-dated (pre-5.6) version:


truncate - shorten a file



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.


Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found