in reply to Re^5: 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.use Modern::Perl; { local $/ = ".EON\n\n"; while ( my $record = <DATA> ) { say "I found: $record"; # ... now do something with $record ... } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: How to extract certain range of text and display it?
by marto (Cardinal) on Oct 15, 2013 at 07:38 UTC | |
|
Re^7: How to extract certain range of text and display it?
by Anonymous Monk on Oct 15, 2013 at 07:36 UTC |