Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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, $_;


Comment on Re^2: A Procrustean Statement
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://555840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2015-07-05 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls