in reply to Re: How to extract certain range of text and display it?
in thread How to extract certain range of text and write into another file?
Where did I make mistake?use warnings; use strict; my $test; my @words; open(INFO,"<","testing.pl")||die"Can't open file:$!\n"; chomp (@words=<INFO>); close(INFO); local $/ = ".EOM\n\n"; while ( my $record = @words) { print $record; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to extract certain range of text and display it?
by soonix (Chancellor) on Oct 14, 2013 at 08:45 UTC | |
by annel (Novice) on Oct 15, 2013 at 05:34 UTC | |
by soonix (Chancellor) on Oct 15, 2013 at 08:44 UTC | |
by Anonymous Monk on Oct 15, 2013 at 06:48 UTC | |
by annel (Novice) on Oct 15, 2013 at 07:30 UTC | |
by marto (Cardinal) on Oct 15, 2013 at 07:38 UTC | |
by Anonymous Monk on Oct 15, 2013 at 07:36 UTC | |
|
Re^3: How to extract certain range of text and display it?
by jakeease (Friar) on Oct 14, 2013 at 07:21 UTC |