Perlaccess : Tutorials : File and Directory
Creating New Files (12.2)
by Jacob A. Wheeler
http://www.bigresources.com

Below is how you create a new file:

open(FILE,">filename.txt");
print FILE "Writing to file\n";
close(FILE);
'>' Creates a new file (filename.txt) and opens it for writing.

Some other input/output operator's:
'<' open file for reading
'>>' open file for appending
'| output-pipe-command' set up an output filter
'input-pipe-command |' set up an input filter