in reply to splitting output to separate files, one per line
use strict; while(<DATA>) { chomp; open FH, ">$..line"; print FH $_; close FH; } __DATA__ this is a file that will be split by line into files.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: splitting output to separate files, one per line
by ikegami (Patriarch) on Feb 17, 2005 at 23:45 UTC |