ASP::NextLink

ASP::NextLink is a Perl implementation of the NextLink ASP component.
Download

ASP::NextLink Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tim Hammerquist
  • Publisher web site:
  • http://search.cpan.org/~timmy/ASP-1.07/ASP.pm

ASP::NextLink Tags


ASP::NextLink Description

ASP::NextLink is a Perl implementation of the NextLink ASP component. ASP::NextLink is a Perl implementation of the NextLink ASP component.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 >); } }ASP::NextLink is a Perl implementation of MSWC.NextLink, ASP's content-linking component for use with Apache::ASP.NOTESASP::NextLink is NOT functionally equivalent to MSWC.NextLink. Whereas each method of MSWC.NextLink takes a file argument, ASP::NextLink takes a file argument ONLY in the constructor ( ASP::NextLink->new("linkfile") ). new() parses the linkfile given; the information derived from this linkfile is subsequently available only through the object returned by new().Attempts to call object methods on a class and attempts to call class methods on an object will both trigger an exception.However, in the interest of portability of algorithms to ASP::NextLink, indexes passed to the GetNth*() methods remain 1-based, as they are in MSWC.NextLink. Requirements: · Perl


ASP::NextLink Related Software