go ahead... be a heretic | |
PerlMonks |
(zdog) Re: format with spaceby zdog (Priest) |
on Jul 12, 2002 at 13:52 UTC ( [id://181266]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|