Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Allow empty form fields regex

by Hissingsid (Sexton)
on Mar 18, 2004 at 15:36 UTC ( [id://337704]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($contents != /^[\w \.\,\=\" \/<>]+$/ ){
    $contentserror = "Error - message.";++$error;
    }
    
  2. or download this
    if ($contents = ""){
    $contents = "\s";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found