- or download this
my $outfile = "result.txt";
open my $OUT, ">", $outfile or die "could not open $outfile $!"; # idi
+omatic way to open a file for writing
- or download this
print $OUT "text to be printed to the file\n";
- or download this
close $OUT;
- or download this
use strict;
use warnings;
- or download this
#!/usr/bin/perl
use strict;
...
chomp $cut_off;
my $file = "lib-pool-fosmid.fastq";