Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hi every one
i have a file which contains the strings of various lengths. i want to keep all the strings (say of 10 charcters in to 1) file and so on here is an example of it
input file
ABCDEF
ABGHRI
ABDEFCRAVF
output
ABCDEF and
ABGHRI in file 1
ABDEFCRAVF in file 2 and so on..can any one help me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: creating new files bases on string size
by CountZero (Bishop) on Feb 11, 2012 at 11:17 UTC | |
|
Re: creating new files bases on string size
by moritz (Cardinal) on Feb 11, 2012 at 07:18 UTC | |
|
Re: creating new files bases on string size
by Corion (Patriarch) on Feb 11, 2012 at 09:02 UTC |