Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 contemplating the Monastery: (5)
As of 2015-08-31 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (354 votes), past polls