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

Re: Coordinate validator

by jwkrahn (Monsignor)
on May 18, 2019 at 04:35 UTC ( #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
Node Status?
node history
Node Type: note [id://11100218]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2019-10-17 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?