in reply to Regexing an input stream...
while ( $line = <Stream> ) { if ( $line =~ m/blah/ ){ print "here\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regexing an input stream...
by sergio (Beadle) on Jun 18, 2003 at 21:54 UTC | |
by aquarium (Curate) on Jun 19, 2003 at 01:26 UTC | |
by sergio (Beadle) on Jun 19, 2003 at 13:49 UTC |