http://www.perlmonks.org?node_id=878717


in reply to split a file

Explain your problem.

Where you struck?

What is your expect solution?

Replies are listed 'Best First'.
Re^2: split a file
by chinni2010 (Initiate) on Dec 23, 2010 at 04:01 UTC

    I want to print every 10 records in one file.My new files are having only the evry 10th record from the input file.I guess my Print statement has some problem,need to print in a loop