- or download this
chomp($phi = `ls slk`);
chomp($phi2 = `ls *.csv`);
open(OUT,"> /home/Aug18.csv") or die "Cannot open output file;
open(READDATA, "< /home/$phi") or die "Cannot Open file;
- or download this
@phi2 = `ls *.csv`;
chomp @phi2; # chomp will apply to every element of the array
- or download this
your_script.pl slk someinput.csv > /home/Aug18.csv
- or download this
#!/usr/bin/perl -w
...
print "$_,$h{$1}\n";
}
}