vanuatu10 has asked for the wisdom of the Perl Monks concerning the following question:
Can MAP in PERL be use to right justify values in fields of the third column? If yes, how can it be done? If not, is there another way to do it?
Example:FROM This Prod Type Price 1 A 12.00 2 B 126.00 3 C 1000.00
To This
Prod Type Price 1 A 12.00 2 B 126.00 3 C 1000.00 <\pre>Edited 2002-06-10 by mirod: fixed the formating (<pre> tags only around the relevant parts
- Comment on Right Justify data in Fields
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Right Justify data in Fields
by talexb (Chancellor) on Jun 10, 2002 at 15:14 UTC | |
|
Re: Right Justify data in Fields
by mirod (Canon) on Jun 10, 2002 at 15:16 UTC | |
|
Re: Right Justify data in Fields
by Joost (Canon) on Jun 10, 2002 at 15:19 UTC | |
|
Re: Right Justify data in Fields
by traveler (Parson) on Jun 10, 2002 at 18:09 UTC |