Over a million developers have joined DZone.

Perl - Writing To A File

DZone's Guide to

Perl - Writing To A File

· ·
Free Resource

#Open a file for writing and write content to it.

open FILE, ">$file_name" or die $!;
print FILE $log;
close FILE;


Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}