Perl: Printing Output
Printing Output
print() - takes a list of strings and sends each one to STDOUT
printf() - takes a format control string that defines how to print the remaining arguments.
- Good for formatting numbers - allows you to specify how many decimal places to show
printf("%10.2f %d %15s",$a, $a, "Gumby");