in reply to Re^6: How to extract certain range of text and display it?
in thread How to extract certain range of text and write into another file?

"use Modern::Perl prompts to give error."

Something like this:

Can't locate Modern/Perl.pm ...

If so, install the module:

cpan Modern::Perl

If this isn't the problem you're going to have to be more specific. Please read and understand How do I post a question effectively? to find out how to help us help you.