From b50b2e5f94774268c271484f9c07bfe316f95527 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 22 Feb 2002 23:18:34 +0000 Subject: add some reporting features --- conf/report_template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 conf/report_template (limited to 'conf/report_template') diff --git a/conf/report_template b/conf/report_template new file mode 100644 index 000000000..9c6bb2b4a --- /dev/null +++ b/conf/report_template @@ -0,0 +1,14 @@ +{ sprintf("%-19s", "Page $page of $total_pages"); } { + my $spacer = (40 - length($title) > 0) ? 40 - length($title) : 0; + $spacer = int($spacer / 2); + my $titlelen = 40 - $spacer; + sprintf("%*s%-*s", $spacer, " ", $titlelen, $title); + } { use Date::Format; time2str("%x %X", $date); } + + +{ + join("\n", map { $_ } report_lines(57)); +} + + + -- cgit v1.2.1