Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: ASCII Rulers

by chipmunk (Parson)
on Apr 03, 2001 at 21:31 UTC ( #69385=note: print w/ replies, xml ) Need Help??


in reply to ASCII Rulers

61 characters in the body of this subroutine:

sub ruler { printf$".'%10s'x($l=(9+pop)/10)."$/0".1234567890x$l.$/,1..$l; }


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://69385]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-05-25 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (491 votes), past polls