Baz has asked for the wisdom of the Perl Monks concerning the following question:
Any ideas any1, Thanks.open(INF,"data.txt"); ## Open read file @userdata = <INF>; ## Put into an array close(INF); $linenum=0; foreach $line (@userdata) { print "$linenum\n"; if ($userdata[$linenum] =~ /¦$tail/) { ********** Do Stuff - But currently not working is symbol beyond l +ine 4300 } $linenum++; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: FIle Seeking
by maverick (Curate) on Nov 10, 2001 at 20:50 UTC | |
|
(jeffa) Re: FIle Seeking
by jeffa (Bishop) on Nov 10, 2001 at 20:38 UTC | |
|
Re: FIle Seeking
by thraxil (Prior) on Nov 10, 2001 at 23:40 UTC | |
|
Re: FIle Seeking
by Amoe (Friar) on Nov 10, 2001 at 20:43 UTC | |
|
Re: FIle Seeking
by {NULE} (Hermit) on Nov 11, 2001 at 04:12 UTC | |
|
Re: FIle Seeking
by brother ab (Scribe) on Nov 11, 2001 at 16:30 UTC |