From 014511a96f19e407f789bd028937691275681902 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Thu, 18 May 2017 01:37:58 +0200 Subject: [PATCH] sample: modification date of source text --- sample.plp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; -- 2.30.0