in reply to Re: dynamic filenames, indirect filehandlesin thread dynamic filenames, indirect filehandles
Why are you appending a file handle ($outfile)with $sl ?
So that he can say $outfile++ and generate unique file names for each split file.
Lou