HTML::RewriteAttributes::Links man page on Alpinelinux

Man page or keyword search:  
man Server   18016 pages
apropos Keyword Search (all sections)
Output format
Alpinelinux logo
[printable version]

HTML::RewriteAttributeUseriContributed Perl DHTML::RewriteAttributes::Links(3)

NAME
       HTML::RewriteAttributes::Links - concise link rewriting

SYNOPSIS
	   # up for some HTML::ResolveLink?
	   $html = HTML::RewriteAttributes::Links->rewrite($html, "http://search.cpan.org");

	   # or perhaps HTML::LinkExtor?
	   HTML::RewriteAttributes::Links->rewrite($html, sub {
	       my ($tag, $attr, $value) = @_;
	       push @links, $value;
	       $value;
	   });

DESCRIPTION
       "HTML::RewriteAttributes::Links" is a special case of
       HTML::RewriteAttributes for rewriting links.

       See HTML::ResolveLink and HTML::LinkExtor for examples of what you can
       do with this.

METHODS
   "new"
       You don't need to call "new" explicitly - it's done in "rewrite". It
       takes no arguments.

   "rewrite" HTML, (callback|base)[, args] -> HTML
       See the documentation of HTML::RewriteAttributes.

       Instead of a callback, you may pass a string. This will mimic the
       behavior of HTML::ResolveLink -- relative links will be rewritten using
       the given string as a base URL.

SEE ALSO
       HTML::RewriteAttributes, HTML::Parser, HTML::ResolveLink,
       HTML::LinkExtor

AUTHOR
       Shawn M Moore, "<sartak@bestpractical.com>"

LICENSE
       Copyright 2008-2010 Best Practical Solutions, LLC.
       HTML::RewriteAttributes::Links is distributed under the same terms as
       Perl itself.

perl v5.18.2			  2010-11-24 HTML::RewriteAttributes::Links(3)
[top]

List of man pages available for Alpinelinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net