Scripting >> Perl >> How to open files with open()

open (filehandle, filename) where expr = "<filename" opens a file for reading (default) ">filename" opens a file for write (creates new) ">>filename" opens a file for appending (preserve) Last updated on (yyyy-mm-dd): 2008-01-16