Copyright © tutorialspoint.com
Syntax
Definition and UsageTruncates (reduces) the size of the file specified by FILEHANDLE to the specified LENGTH (in bytes). Produces a fatal error if the function is not implemented on your system. Return Value
ExampleFollowing example will truncate file "test.txt" to zero length.
|
Copyright © tutorialspoint.com