In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Larry Wall) wrote:
>On Sat, Aug 14, 2004 at 09:56:34PM +0000, Smylers wrote:

>: I like that exception; it means that if all your array elements end with
>: line-breaks, you don't end up with all but the first one being indented
[...]
>That's the default behavior you can't write with .as().  Takes a .map or
>some such.

Can't .as sprintf its first arg if it's a string, but if you pass a code 
ref, use the return value?

     print @foo.as( { "*"~title_case($_) }, "\n");

And/or maybe passing undef as (either?) arg could mean "use the default".


                                        - David "as($you, $were)" Green

Reply via email to