I'm building a monospaced text output and it works fine with pack("A23",$variable) for example that makes sure the variable valuse takes up 23 spaces. If the string is less than 23, it fills the rest with spaces.
BUT
now i have dollar amount which of course want to align right (pad the spaces on the left)
any ideas?