in reply to formline and right-justification [SOLVED]
i'm limited to formline (and format), so no additional modules can be included.Why are you limited & can't use modules?
while(<DATA>){ chomp; print "== $_ ==\n"; printf "printf: [%10s]\n", $_; printf "substr: [%10s]\n", substr($_, -10); } __DATA__ abc abcdefghjiklmnopqrstuvwxyz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: formline and right-justification
by nostromo (Sexton) on Jun 18, 2006 at 15:20 UTC | |
by davidrw (Prior) on Jun 18, 2006 at 15:25 UTC | |
by nostromo (Sexton) on Jun 18, 2006 at 15:44 UTC |