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

Re: A possible solution for s?pintf

Thread Previous | Thread Next
From:
Larry Wall
Date:
March 12, 2005 19:41
Subject:
Re: A possible solution for s?pintf
Message ID:
20050313034139.GA6946@wall.org
On Sun, Mar 13, 2005 at 01:01:39AM +0100, Juerd wrote:
: It puts the variable name out front, which is great, but it also puts
: the second variable name allll the way to the right, after the line
: noise.

    print $foo.as('%03d'),
          $bar.as('%15s');

Larry

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