Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

perlfunc:truncate

by gods
on Aug 24, 1999 at 22:42 UTC ( #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
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-11-29 00:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls