Hi, I have a data file, wish to split into 9 small files, each one starts
2:MODEL 1 1552:ENDMDL 1554:MODEL 2 3104:ENDMDL 3106:MODEL 3 4656:ENDMDL till 12418:MODEL 9 13968:ENDMDL The left number are the line numbers. I can get those 9 output file via some sed commands, but here I wish to try using perl. The output 9 files and origin files first_9 with the not-working perl file had been pushed to https://github.com/linanil/Temp Thanks ahead for your suggestions, Best regards, -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/