in reply to Manipulating Text File in Perl

This is not a terribly difficult task, however you're not going to get through it without doing some reading. Every Perl install comes with the Perldoc, the perl documentation. I'd start with split. Your should also read perlre. The have another wack at your problem and let us know how you make out.

Cheers

Sweetblood