Edwin Steiner <[EMAIL PROTECTED]> writes:

> Disallowing interpolated formats on \F has the additional advantage of
> making the {} unnecessary in the most common cases (also removing the
> 'force to string').

As an afterthought: This suggests getting rid of the {} entirely.

The rule could be like:

    \\F <printf_format_without_percent> <funny_character_expression>

so

    "The value in hex is \Fx$value."
    "The value in hex is \Fx%lookup{$key}."
    "The value in hex is \Fx$(calculate($x,5))."

would both be ok. For more complex formatting you use C<sprintf> or
C<but formatted>.
I really like that. (It's perlish, too, don't you think?)

-Edwin

Reply via email to