Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 surveying the Monastery: (3)
As of 2020-01-20 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?