palsy017 has asked for the wisdom of the Perl Monks concerning the following question:
open (DATAFILE3, $prog); @lines = <DATAFILE3>; close(DATAFILE3); print "$lines[76]><br>\n";
The string returned is "SECTIONS 1-2-3-4 Offered Every Performance!" but I only need part of that,
"SECTIONS 1-2-3-4" (with the dashes).
I would appreciate your input!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question about reading specific line in a text file
by lakshmananindia (Chaplain) on Apr 04, 2009 at 06:21 UTC | |
|
Re: Question about reading specific line in a text file
by nagalenoj (Friar) on Apr 04, 2009 at 06:22 UTC | |
by naikonta (Curate) on Apr 04, 2009 at 07:03 UTC | |
|
Re: Question about reading specific line in a text file
by vinoth.ree (Monsignor) on Apr 04, 2009 at 06:48 UTC | |
|
Re: Question about reading specific line in a text file
by Marshall (Canon) on Apr 05, 2009 at 03:49 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |