in reply to Re: Re: Matching Question
in thread Matching Question
... while (<FILE>) { $count++; $text = $_; ## this is what you need chomp($text); ## this is what you need if ($text eq "go") { $gocount++ if s/^go/\//g; print OUT; ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Matching Question
by curtisb (Monk) on Sep 23, 2002 at 11:24 UTC |