use strict; use warnings; # printf formats and prints, but adds no newline itself printf("%d items at \$%.2f\n", 3, 1.5);
print a formatted line