Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: ASCII Rulers

by MrNobo1024 (Hermit)
on Apr 03, 2001 at 19:43 UTC ( #69338=note: print w/ replies, xml ) Need Help??


in reply to ASCII Rulers

sub ruler { my$r=($_[0]+9)/10;" @{[map{sprintf'%9s' ,$_}1..$r]}\n0".1234567890x$r."\n" }


Comment on Re: ASCII Rulers
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://69338]
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 2015-03-02 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (30 votes), past polls