summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorjeff <jeff>2002-02-22 23:18:34 +0000
committerjeff <jeff>2002-02-22 23:18:34 +0000
commitb50b2e5f94774268c271484f9c07bfe316f95527 (patch)
tree2dec4f5a1b4ed14bc2ae663acd6691e24c1cda9b /conf
parentf96fd39dcc9c2563f8ba2976f7b9d23c0b3fcc29 (diff)
add some reporting features
Diffstat (limited to 'conf')
-rw-r--r--conf/report_template14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/report_template b/conf/report_template
new file mode 100644
index 0000000..9c6bb2b
--- /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));
+}
+
+
+