programming-examples/perl/Report/Output along with the template.pl
2019-11-15 12:59:38 +01:00

15 lines
336 B
Perl

#!/bin/perl
$name="Tommy";
$age=25;
$salary=50000.00;
$now="03/14/97";
# Format Template
format STDOUT=
---------------------REPORT-------------------------
Name: @<<<<<< Age:@##Salary:@#####.## Date:@<<<<<<<<<<
$name, $age, $salary, $now
.
# End Template
write;
print "Thanks for coming. Bye.\n";