DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Perl - Writing To A File
#!/usr/bin/perl #Open a file for writing and write content to it. open FILE, ">$file_name" or die $!; print FILE $log; close FILE;






Comments
Snippets Manager replied on Thu, 2011/06/02 - 9:31am