Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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.

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]
[Lotus1]: I was here

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2018-06-18 17:59 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (110 votes). Check out past polls.