- or download this
%n special: *stores* the number of characters output so far
into the next variable in the parameter list
- or download this
my $name = ...; ## from user input
my $amount = ...;
...
# instead of
# printf "%s : \$%.02f\n", $name, $amount;
- or download this
$name = (" " x 5000) . "%n";