On Fri, 2 May 2003 10:18:36 +0900, Warren Brown wrote:
> One quirk: a zero-length second parameter like "'x'.ljust(10,nil)"
> or "'x'.ljust(10,'')" behaves like "'x'.ljust(10)".

Will it handle "'x'.ljust(10, '\0')" properly?

> A generalized "justify" function similar to the one implemented in
> this patch might be a nice addition to the language too.

You may want to look at Text::Format (in the RAA) for some of this.

-austin
-- Austin Ziegler, austin / halostatue.ca on 2003.05.01 at 21:49:20