programming-examples/perl/Report/Writes out as many formatted lines of output as necessary.pl
2019-11-15 12:59:38 +01:00

14 lines
299 B
Raku

#!/usr/local/bin/perl
@quotation = <STDIN>;
$quotation = join("", @quotation);
$~ = "QUOTATION";
write;
format QUOTATION =
Quotation for the day:
-----------------------------
~~ ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$quotation
-----------------------------