in reply to Re^2: Data extraction from text file
in thread Data extraction from text file
I'm sure your teacher gave you some pointers. Start with those, then have a look at what your textbook has to say on the matter.
In Section
Seekers of Perl Wisdom