Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: ASCII Rulers

by jmcnamara (Monsignor)
on Apr 03, 2001 at 15:01 UTC ( #69260=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub ruler {
        my($n,$r) = (int($_[0]+9)/10, ' ');
    ...
        "$r\n" . '0123456789' x $n . "0\n";
    }
    
  2. or download this
    123456789_123456789_123456789_123456789_123456789_123456789_
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://69260]
help
Chatterbox?
[RonW]: james28909 Why not write a Perl program to do the task?
[choroba]: RonW Yes, but then, one day, they needed to switch from FTP to SFTP, and... but I can't give the whole talk away here :)
[RonW]: Tunnel FTP through stunnel?
[james28909]: i guess i should have done it in perl. i bet it woulnt have taken me 5 hours to figure out haha
[choroba]: In the end, I was able to upgrade Perl from 5.8.3 to 5.22 and install Net::SFTP::Foreign , at least for the task involved

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2017-05-22 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?