Almost-minimal filesystem based blog.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
519 B

17 years ago
  1. #!/usr/bin/perl
  2. =pod
  3. =head1 NAME
  4. display.pl - simple wrapper script for Display.pm
  5. =head1 DESCRIPTION
  6. Pulls in Display.pm, runs a configuration file, and passes off parameters to
  7. Display::handle.
  8. =cut
  9. use strict;
  10. use warnings;
  11. no warnings 'uninitialized';
  12. use lib 'lib';
  13. use lib 'wala';
  14. use Display;
  15. # Grab configuration:
  16. our (%DISPLAY_CONF, %WalaConf);
  17. do 'conf.pl' if (-e 'conf.pl');
  18. my $d = Display->new(%DISPLAY_CONF);
  19. $WalaConf{ShowSearchlinks} = 0;
  20. $d->walaconf(%WalaConf);
  21. print $d->display(@ARGV);