Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re^2: fastest pattern match

by d4vis (Chaplain)
on Jun 24, 2002 at 20:11 UTC ( #176928=note: print w/ replies, xml ) Need Help??


in reply to Re^2: fastest pattern match
in thread fastest pattern match

Good advice in general,
but in this case there'll only be one interation.

Update: Fastolfe's right...my bad...mea culpa

~monk d4vis
#!/usr/bin/fnord


Comment on Re: Re^2: fastest pattern match
Re: Re: Re^2: fastest pattern match
by Fastolfe (Vicar) on Jun 24, 2002 at 20:25 UTC
    Why? If we were sure the match would always occur on the first line, why search for it at all?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://176928]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2014-04-18 09:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (464 votes), past polls