develooper Front page | perl.perl6.language | Postings from March 2005

Re: A possible solution for s?pintf

Thread Previous | Thread Next
From:
Rod Adams
Date:
March 12, 2005 16:28
Subject:
Re: A possible solution for s?pintf
Message ID:
42338930.7050508@rodadams.net
Larry Wall wrote:

>I don't see that this buys us anything over just shortening "sprintf"
>to something shorter, like:
>
>    print as '%03d %15s', $foo, $bar;
>
>And your argument list falls out naturally from making "as" a listop.
>Plus it naturally lets you say other "as-ly" things:
>
>    print as MyBigInt, $foo, $bar;
>  
>
ooh. Nice. I like that.

-- Rod Adams


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About