Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: CGI -Perl problem

by thatguy (Parson)
on Dec 17, 2002 at 18:08 UTC ( [id://220600]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $data_in="ISBN 90-70002-34-5";
       $data_in=~ s/^ISBN//;
       $data_in=~ s/ /-/g;
    ...
    unless (($count eq 10) && (!($count=~ m/[a-z]/i))){
       warn "not enough digits in ISBN: $count instead of 10\n";
    }
    
  2. or download this
    # data from the database you are checking against
    my $data_in="90 70002 34 5";
    # inputed data
    ...
    unless (($data_in eq $check_data) && (!($count=~ m/[a-z]/i))){{
       die "failure: data in does not match db record\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found