in reply to Formating a printf statement using a variable

Try it out and see!
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
    Thanks to you all for the quick response, it now is working