Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Pretty text reports with perl

by targetsmart (Curate)
on Jun 08, 2009 at 11:37 UTC ( #769461=note: print w/ replies, xml ) Need Help??

in reply to Pretty text reports with perl

from perlform
> pad character for right adjustification
you can use like @>>>>, it can handle 43 as well as your 1456

-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

Comment on Re: Pretty text reports with perl
Replies are listed 'Best First'.
Re^2: Pretty text reports with perl
by apl (Monsignor) on Jun 08, 2009 at 11:53 UTC
    If you use the format construction, you can center values by specifying vertical bars.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2015-10-09 06:19 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (233 votes), past polls