in reply to extraction of data
So, please show us the code that you've already written and also explain what it should do and how your current code fails to do that.
This helps us help you much better, because we then see at what knowledge level you are and where we can best improve your learning of Perl.
In Section
Seekers of Perl Wisdom