ASP-NextLink
view release on metacpan or search on metacpan
NextLink.pm view on Meta::CPAN
=head1 SYNOPSIS
require ASP::NextLink;
$nl = new ASP::NextLink('linkfile.ext');
$current = $nl->GetListIndex;
for $idx (1..$nl->GetListCount) {
my $url = $nl->GetNthURL($idx);
my $desc = $nl->GetNthDescription($idx);
if ($idx == $current) {
print qq(<A href="$url">$desc</A><BR>);
}
else {
print qq(<B>$desc</B>);
}
}
=head1 DESCRIPTION
ASP::NextLink is a Perl implementation of MSWC.NextLink, ASP's
content-linking component for use with Apache::ASP.
=head1 NOTES
SYNOPSIS
require ASP::NextLink;
$nl = new ASP::NextLink('linkfile.ext');
$current = $nl->GetListIndex;
for $idx (1..$nl->GetListCount) {
my $url = $nl->GetNthURL($idx);
my $desc = $nl->GetNthDescription($idx);
if ($idx == $current) {
print qq(<A href="$url">$desc</A><BR>);
}
else {
print qq(<B>$desc</B>);
}
}
DESCRIPTION
ASP::NextLink is a Perl implementation of MSWC.NextLink, ASP's
content-linking component for use with Apache::ASP.
NOTES
ASP::NextLink is NOT functionally equivalent to MSWC.NextLink.
Whereas each method of MSWC.NextLink takes a file argument,
( run in 0.591 second using v1.01-cache-2.11-cpan-de7293f3b23 )