Finally merged the branch 'apache20'(+'apache2') back to the main trunk.
[www.jankratochvil.net.git] / project / cvsutil / Index.pm
old mode 100755 (executable)
new mode 100644 (file)
similarity index 82%
rename from project/cvsutil/ListItem.pm
rename to project/cvsutil/Index.pm
index d4b8e86..a380ebb
@@ -1,7 +1,7 @@
 #! /usr/bin/perl
 # 
 # $Id$
-# Definition of 'My::Project::cvsutil' for list.cgi.pl
+# Main page of 'My::Project::cvsutil'
 # Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
 # 
 # This program is free software; you can redistribute it and/or modify
@@ -18,7 +18,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 
-package project::cvsutil::ListItem;
+package project::cvsutil::Index;
 require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
 our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
 our $CVS_ID=q$Id$;
@@ -26,6 +26,7 @@ use strict;
 use warnings;
 
 use My::Web;
+Wuse 'project::Lib';
 
 
 our @ListItem=(
@@ -47,4 +48,18 @@ can serve a handy prevention of grepping built files: <span class="quote">
 HERE
                );
 
+sub handler
+{
+project::Lib->init();
+
+
+print <<"HERE";
+<p>There already exists package @{[ a_href 'http://www.red-bean.com/cvsutils/','CVS Utilities' ]}
+with similiar features - this utility should be merged into it.
+Pointed out by the courtesy of Jesse Glick.</p>
+HERE
+
+
+exit;
+}
 1;