programming-examples/perl/Report/Call write to output the format.pl

14 lines
233 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
format STDOUT =
@*
$text
@<<<<<<<<<<<<@<<<<<<<<<<<<@<<<<<<<<@<<<<
$firstname $lastname $ID $extension
.
$text = "First Line...";
$firstname = "Cary";
$lastname = "Grant";
$ID = 1234;
$extension = x456;
write;