Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Useless Program

by httptech (Chaplain)
on Jun 01, 2000 at 17:05 UTC ( [id://15800]=note: print w/replies, xml ) Need Help??


in reply to Useless Program

Also, since $name isn't going to change during the course of the program, use the 'o' modifier to tell perl to compile the regex once instead of every time it is evaluated. This will speed up your search. /^$name$/io

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-06-14 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.