Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Search Param Help

by sh1tn (Priest)
on Dec 06, 2007 at 06:10 UTC ( #655287=note: print w/replies, xml ) Need Help??


in reply to Help with Search String

Define hash with searched words and check for hash key existance:
my %hash; @hash[qw(word1 word2)] = (1); if (exists($hash{$_})){ }
perlre, perldsc


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://655287]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2017-11-25 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (355 votes). Check out past polls.

    Notices?