Help for this page

Select Code to Download


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