in reply to split file at line number

Hey, thank you for the advice. Now I was just told that I have to split a file into multiple files at a particular pattern. Any help?

Replies are listed 'Best First'.
Re^2: split file at line number
by ikegami (Patriarch) on Oct 19, 2007 at 15:04 UTC
    Just replace $. % $SPLIT_POINT == 1 with the split condition in the code I provided.