On Fri, Apr 13, 2007 at 08:01:13PM +1000, Damian Conway wrote:
: Maybe there also needs to be a "boolean" conversion for printf
: (perhaps %t for true?):

Seems insufficiently general.  However, I note that booleans are
an enum, and by default stringify to Bool::True or Bool::False.
Maybe %t stands for "terse", which stringifies to True and False, and
in general stringifies any enum to its unqualified name rather than
its qualified name.  Kind of a shame %e is taken.  On the other hand,
maybe wasting a printf char on this is still insufficiently general,
and it should just be a .terse or .key method of some sort feeding
to a normal %s.

Larry

Reply via email to