HTML::PageIndex - Class to create HTML page index objects.
$foo = new HTML::PageIndex;
$zog = $foo->makeindex([total pages],[current page],[base url],[url arguement],[show prev/next]);
Will return an object which will display a dynamic index of html pages. It would look like:
[Prev] 1 2 3 4 5 6 [Next]
This is currently the only public method. The args are as follows:
[total pages] - How many total pages are there.
[current page] - What the current page is. It is expected that the using script
would generate this.
[base url] - The base url to link to.
[url arguement] - May be "", but if it isn't it will build a
URL with ?[URL arguement]=[page number]
[show prev/next] - Default is 0. If 0 it will not show [Prev] if you are on the
first page, or [Next] if you are on the last page. If 1, it will
show [Prev] and [Next] as text.
You install HTML::PageIndex, as you would install any perl module library, by running these commands:
None knows at time of writing.
The latest version of HTML::PageIndex should always be available from:
Visit <URL:http://www.perl.com/CPAN/> to find a CPAN site near you.
Or, from <URL:http://www.perlguy.com/perl>.
Copyright 2002, Kevin Meltzer. This software is releases with no warranty, and under the terms of Perl itself.
Address bug reports and comments to: email@example.com
The author makes no warranties, promises, or gaurentees of this software. As with all software, use at your own risk.
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install HTML::PageIndex, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.