use strict; use warnings; my $fmt = "%2.2f %02d %s\n" printf $fmt, 4.4, 3, "ta da!";