Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Dualvar via table

by roboticus (Chancellor)
on Jan 17, 2020 at 18:16 UTC ( #11111540=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %directions = ( 1=>'NORTH', 2=>'SOUTH', 3=>'EAST', 4=>'WEST' );
    
    ...
        $dir = $dir2 + 0;
        print_dualvar($dir);
    }
    
  2. or download this
    use strict;
    no warnings;  # !!!
    ...
        print "House# across the street is ", $house_number+1, "\n";
        print "DEBUG: Original house number '$house_number'\n\n";
    }
    
  3. or download this
    $ perl t.pl
    House# across the street is 1142
    ...
    
    House# across the street is 120000000001
    DEBUG: Original house number '120000000000'
    
  4. or download this
    House# across the street is 1142
    DEBUG: Original house number '1141 Tennessee Avenue'
    
    House# across the street is 120000000001
    DEBUG: Original house number '12E10th Street'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2020-03-29 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (169 votes). Check out past polls.

    Notices?