X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=blobdiff_plain;f=project%2Fpgsqlsubstr%2FIndex.pm;fp=project%2Fpgsqlsubstr%2FListItem.pm;h=cce5aa6895d2b358acd2519a7dd818afac5b3963;hp=dff23d91837844fd4eef16fdfdc02e62085d28f9;hb=19c5ad8e26ac320516b8427c416a9195ce4fea48;hpb=4df4c5409020cd58d7dd7f98a88653c96e860dfb diff --git a/project/pgsqlsubstr/ListItem.pm b/project/pgsqlsubstr/Index.pm old mode 100755 new mode 100644 similarity index 76% rename from project/pgsqlsubstr/ListItem.pm rename to project/pgsqlsubstr/Index.pm index dff23d9..cce5aa6 --- a/project/pgsqlsubstr/ListItem.pm +++ b/project/pgsqlsubstr/Index.pm @@ -1,8 +1,6 @@ -#! /usr/bin/perl -# # $Id$ -# Definition of 'My::Project::pgsqlsubstr' for list.cgi.pl -# Copyright (C) 2003 Jan Kratochvil +# Main page of 'My::Project::pgsqlsubstr' +# Copyright (C) 2003-2005 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,7 +16,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -package project::pgsqlsubstr::ListItem; +package project::pgsqlsubstr::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,10 +24,11 @@ use strict; use warnings; use My::Web; +Wuse 'project::Lib'; our @ListItem=( - "name"=>a_href('http://www.postgresql.org/','PostgreSQL').'-6.3 fix', + "name"=>sub { a_href('http://www.postgresql.org/','PostgreSQL').'-6.3 fix'; }, "platform"=>"patch", "priority"=>290, "icon"=>"postgresql", @@ -45,4 +44,17 @@ PostgreSQL engine.

HERE ); +sub handler +{ +project::Lib->init(); + + +print <<"HERE"; +

Although the patch is noted by Thomas G. Lockhart he is referring in me in +that text, believe me. :-)

+HERE + + +My::Web->footer(); +} 1;