CPU: Perl, Fall 2005 Perl, Week 4: More Arrays, Context, Subroutines, Lexical Variables #17

Formatted Strings

printf "I had %d kinds of %s\n", 5, 'pears';
printf "Gerbils are %d%% awesome!\n", 57,2298;
Copyright © 2005 Ian Langworth