Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 browsing the Monastery: (16)
As of 2014-10-22 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (119 votes), past polls