From: Mischa POSLAWSKY Date: Wed, 17 May 2017 23:37:58 +0000 (+0200) Subject: sample: modification date of source text X-Git-Tag: v1.11~74 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/014511a96f19e407f789bd028937691275681902 sample: modification date of source text --- diff --git a/sample.plp b/sample.plp index 15323a3..6de2b98 100644 --- a/sample.plp +++ b/sample.plp @@ -1,13 +1,16 @@ <(common.inc.plp)><: +my $textinc = 'data/unicode-sampler/unicode.txt'; + Html({ title => "unicode sampler", version => '2.0', stylesheet => [qw'light dark mono red'], + data => $textinc, }); -open my $source, '<', 'data/unicode-sampler/unicode.txt' - or die "Could not open text: $!\n"; +open my $source, '<', $textinc + or die "Could not open text at $textinc: $!\n"; local $/ = "\n\n"; my $top = readline $source;