zeni has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I know this sounds trivial.
$proj_lib = "XYZ"; printf $xmlfile "%8s","<spirit:library>$proj_name\_lib</spirit:library +>\n"; Output: " <spirit:library>XYZ_lib</spirit:library>"
All i need is a 'right shifted'(8 spaces) display. I wonder what am i missing here!
Life is a box of chocolates.. Perhaps you get to eat very few best ones!! |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Right shifted display
by FunkyMonk (Chancellor) on Jun 01, 2012 at 12:36 UTC | |
Re: Right shifted display
by choroba (Cardinal) on Jun 01, 2012 at 12:28 UTC | |
Re: Right shifted display
by johngg (Canon) on Jun 01, 2012 at 12:28 UTC | |
Re: Right shifted display
by GrandFather (Saint) on Jun 02, 2012 at 09:49 UTC | |
Re: Right shifted display
by toolic (Bishop) on Jun 01, 2012 at 12:21 UTC | |
by zeni (Beadle) on Jun 01, 2012 at 12:28 UTC | |
Re: Right shifted display
by Anonymous Monk on Jun 01, 2012 at 14:17 UTC | |
by zeni (Beadle) on Jun 04, 2012 at 04:33 UTC |