Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: truncate or trunc

by apl (Monsignor)
on Apr 25, 2008 at 16:33 UTC ( [id://682867]=note: print w/replies, xml ) Need Help??


in reply to truncate or trunc

To expand on what Fletch said, truncate requires two parameters, the second being the length of the file you wish to have left. Did you specify anything other than the filehandle?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://682867]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found