Try:
printf "%10d bytes", $x; Vinicius ------ Chuck <[EMAIL PROTECTED]> wrote: > Arg, I am going crazy. Ok, it has been a long time since I was kneee deep in > perl, but why does this not work: > > > printf "%-10d bytes", $x; > > It does not pad the output with spaces or anything. > > if x = 25 > > this is the result: > > 25 bytes > > I want it tobe: > > 25 bytes > > Anyone have any ideas. I just scanned thourgh both Programming Perl and the > Cookbook and could not find this. > > Thankx, > CC -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]