in reply to splitting output to separate files, one per line
#!/usr/bin/perl use strict; use warnings; open(FIN,"< $ARGV[0]") || die "cant open file:$!"; while(<FIN>) { my $line = $_; open(FOUT,">$..line") || die "cant open file:$!"; print FOUT $line; close(FOUT); } close(FIN);
|
|---|