Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Form validation/Search script

by ikegami (Patriarch)
on Oct 24, 2005 at 18:37 UTC ( [id://502550]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $text = 'Perl is a general-purpose programming language originally 
    +developed for text manipulation and now used for a wide range of task
    +s including system administration, web development, network programmi
    +ng, GUI development, and more.';
    # Text source: perlintro [http://perldoc.perl.org/perlintro.html]
    ...
    
       print("$keywords: ", $text =~ /$re/ ? "match" : "no match", "\n");
    }
    
  2. or download this
    ^(?=.*\bPerl\b)(?=.*\bdevelopment\b)
    Perl development: match
    ^(?=.*\bPerl\b)(?=.*\bsucks\b)
    Perl sucks: no match
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-03-29 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found