Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

(zdog) Re: format with space

by zdog (Priest)
on Jul 12, 2002 at 13:52 UTC ( #181266=note: print w/ replies, xml ) Need Help??


in reply to format with space

I think you're asking the same thing that I did here, a while back. If that's the case, I suggest looking into sprintf and possibly doing something like this to pad the value:

a[0] = sprintf ("%-8s%s", $value, $name)

I think that's what you're getting at ...

Zenon Zabinski | zdog | zdog@perlmonk.org


Comment on (zdog) Re: format with space
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2015-07-02 22:40 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 (46 votes), past polls