X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=blobdiff_plain;f=project%2Fwllib%2FIndex.pm;fp=project%2Fwllib%2FListItem.pm;h=8621a5e36d106c115e46e78549b62255f994878b;hp=c607d3c4620d9dcf3f34fffcfe5aa74c0a10676b;hb=19c5ad8e26ac320516b8427c416a9195ce4fea48;hpb=4df4c5409020cd58d7dd7f98a88653c96e860dfb diff --git a/project/wllib/ListItem.pm b/project/wllib/Index.pm old mode 100755 new mode 100644 similarity index 89% rename from project/wllib/ListItem.pm rename to project/wllib/Index.pm index c607d3c..8621a5e --- a/project/wllib/ListItem.pm +++ b/project/wllib/Index.pm @@ -1,7 +1,5 @@ -#! /usr/bin/perl -# # $Id$ -# Definition of 'My::Project::wllib' for list.cgi.pl +# Main page of 'My::Project::wllib' # Copyright (C) 2003 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify @@ -18,7 +16,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -package project::wllib::ListItem; +package project::wllib::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 +24,7 @@ use strict; use warnings; use My::Web; +Wuse 'project::Lib'; our @ListItem=( @@ -37,7 +36,7 @@ our @ListItem=( "license"=>"PD", "maintenance"=>"obsolete-Any of the supported backends are no longer being used.", "language"=>"C", - "description"=><<"HERE", + "description"=>sub { return <<"HERE"; },

This library should make you generically use line drawing on the following platforms: @{[ a_href 'http://www.x.org/','UNIX/X Windows System X11 (libX11)' ]}, @{[ a_href 'http://www.svgalib.org/','UNIX/SVGAlib' ]} and @@ -45,4 +44,11 @@ our @ListItem=( HERE ); +sub handler +{ +project::Lib->init(); + + +My::Web->footer(); +} 1;