in reply to
Re: Split file based on field
in thread
Split file based on field
Your solution has some flaws. It
breaks under windows, because you try to use a ":" in a filename
assumes the input is sorted and breaks if the is input is not sorted.
opens/closes the file(s) for every! line of input data
holli,
/regexed monk/
Comment on
Re^2: Split file based on field
Download
Code
Replies are listed 'Best First'.
Re^3: Split file based on field
by
sh1tn
(Priest)
on Jan 10, 2006 at 12:43 UTC
# breaks under windows, because you try to use a ":" in a filename
":" can be changed
assumes the input is sorted and breaks if the is input is not sorted.
yes, it is sorted
opens/closes the file(s) for every! line of input data
yes, I can see
[reply]
In Section
Seekers of Perl Wisdom