Tag Archives: file

PERL input and output files

To read an input file, edit your data and put it to an output file try this: #! /usr/bin/perl -w use strict; my $file = “in.csv”; my $outfile = “out.csv”; open(IN, “<$file”) or die “Could not open $file\n”; open(OUT, “>$outfile”) … Continue reading

Posted in Programming | Tagged , , , , , , | Leave a comment