Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to build a better mousetrap (or a variable to hold a column-measuring scale)

by LanX (Archbishop)
on Sep 09, 2019 at 23:13 UTC ( #11105917=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<111> $p = '|----+----'
    
    ...
    
      DB<121> p map { $a=length; $p =~ s/.{$a}/$_/r} "", map {$b=$_%10; $b
    + ? $b*10 :$_*10 } 1..22
    |----+----10---+----20---+----30---+----40---+----50---+----60---+----
    +70---+----80---+----90---+----100--+----10---+----20---+----30---+---
    +-40---+----50---+----60---+----70---+----80---+----90---+----200--+--
    +--10---+----20---+----
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2020-02-19 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (84 votes). Check out past polls.

    Notices?