Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    open my $fh, '>', 'output.txt' or die $!;
    print $fh "$_\n" foreach @data;
    close $fh or die $!;