Over a million developers have joined DZone.

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;

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}