Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Menu
truncate « File « Perl
Perl
File
truncate
1.
Truncate a file
2.
To truncate the data in a file, you can use the truncate function: