in reply to Formating a printf statement using a variable
use strict; use warnings; my $fmt = "%2.2f %02d %s\n" printf $fmt, 4.4, 3, "ta da!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Formating a printf statement using a variable
by Sparkie (Initiate) on Jun 15, 2001 at 19:37 UTC |