==== NAME ====
HTML::LinkList - Create a 'smart' list of HTML links.
==== VERSION ====
This describes version ``0.01'' of HTML::LinkList.
==== DESCRIPTION ====
This module contains a number of functions for taking sets of URLs and
labels and creating suitably formatted HTML. These links are "smart"
because, if given the url of the current page, if any of the links in the
list equal it, that item in the list will be formatted as a special label,
not as a link; this is a Good Thing, since the user would be confused by
clicking on a link back to the current page.
While the default format for the HTML is to make an unordered list, there
are many options, enabling one to have a flatter layout with any separators
you desire.
The "link_list" function uses a simple list of links -- good for a simple
navbar.
The "link_tree" function takes a set of nested links and makes the HTML for
them -- good for making a table of contents, or a more complicated navbar.
The "dir_tree" function takes a list of paths and makes a full tree of all
the files and directories in those paths -- good for making a site map.
==== REQUIRES ====
Test::More
==== INSTALLATION ====
To install this module, run the following commands:
perl Build.PL
./Build
./Build test
./Build install
Or, if you're on a platform (like DOS or Windows) that doesn't like the "./"
notation, you can do this:
perl Build.PL
perl Build
perl Build test
perl Build install
In order to install somewhere other than the default, such as in a directory
under your home directory, like "/home/fred/perl" go
perl Build.PL --install_base /home/fred/perl
as the first step instead.
This will install the files underneath /home/fred/perl.
You will then need to make sure that you alter the PERL5LIB variable to find
the modules.
Therefore you will need to change the PERL5LIB variable to add
/home/fred/perl/lib
PERL5LIB=/home/fred/perl/lib:${PERL5LIB}
==== AUTHOR ====
Kathryn Andersen (RUBYKAT)
perlkat AT katspace dot com
http://www.katspace.com
==== COPYRIGHT AND LICENCE ====
Copyright (c) 2006 by Kathryn Andersen
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.