Answers for "perl write to file"

0

perl write to file

open(my $fh, '>', 'report.txt');
print $fh "My first report generated by perl\n";
close $fh;
# no package/library needed/dependant
Posted by: Guest on February-09-2021

Browse Popular Code Answers by Language