in reply to fastest pattern match
open( FILE, "file" ) || die ("The file not there "); while (<>){ if (m/$regex/) { print "matched!\n"; close (FILE); exit; } }
Neil Watson
watson-wilson.ca
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: fastest pattern match
by flounder99 (Friar) on Jun 24, 2002 at 19:50 UTC | |
by japhy (Canon) on Jun 24, 2002 at 22:29 UTC | |
by flounder99 (Friar) on Jun 25, 2002 at 11:53 UTC | |
by frankus (Priest) on Jun 25, 2002 at 12:40 UTC | |
by d4vis (Chaplain) on Jun 24, 2002 at 20:11 UTC | |
by Fastolfe (Vicar) on Jun 24, 2002 at 20:25 UTC |