Perl - Writing To A File
Join the DZone community and get the full member experience.Join For Free
#!/usr/bin/perl #Open a file for writing and write content to it. open FILE, ">$file_name" or die $!; print FILE $log; close FILE;
Perl (programming language)
Opinions expressed by DZone contributors are their own.