Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Right shifted display

by toolic (Bishop)
on Jun 01, 2012 at 12:21 UTC ( [id://973746]=note: print w/replies, xml ) Need Help??


in reply to Right shifted display

If this is not what you're looking for, show the exact output you need:
use warnings; use strict; my $proj_name = 'foo'; printf "<spirit:library>%8s\_lib</spirit:library>\n", $proj_name; __END__ <spirit:library> foo_lib</spirit:library>

Replies are listed 'Best First'.
Re^2: Right shifted display
by zeni (Beadle) on Jun 01, 2012 at 12:28 UTC

    I have shown it as

    Desired: '8spaces<spirit:library>XYZ_lib</spirit:library>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found