Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: A Procrustean Statement

by YuckFoo (Abbot)
on Jun 16, 2006 at 17:21 UTC ( #555840=note: print w/replies, xml ) Need Help??


in reply to Re: A Procrustean Statement
in thread A Procrustean Statement

Pad and truncate:
$_ = sprintf '%-*.*s', $len, $len, $_;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://555840]
help
Chatterbox?
[thezip]: G'day!
[Corion]: Hi thezip!

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2017-02-23 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (349 votes). Check out past polls.