Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Coordinate validator

by jwkrahn (Abbot)
on May 18, 2019 at 04:35 UTC ( [id://11100218]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    Not ok cases
    ...
    numbers are too big
    LAT: 47.9805 LON: -186.5586
    
  2. or download this
    1:   74         if(($ENG >0) && ($FIN > 0)) {
         75                 print "mixed languages\n";
    ...
        171                 } else {
        172                         print "too big numbers\n";
        173                 }
    
  3. or download this
            elsif ( my @keys = grep $H{ $_ } > 1, keys %H ) {
                    for ( @keys ) {
    ...
                            $err++
                    }
            }
    
  4. or download this
         30         my %H;
    ...
    ...
         67         $H{W} = ($_ =~ tr/W//);
         68         $H{N} = ($_ =~ tr/N//);
         69         $H{S} = ($_ =~ tr/S//);
    
  5. or download this
            my %H = (
                    E => tr/E//,
    ...
                    N => tr/N//,
                    S => tr/S//,
                    );
    
  6. or download this
          7         $in =~ s/[NWSEIPL]//g;
    
    ...
    
                    tr/IP//d;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11100218]
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: (6)
As of 2024-04-16 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found