HTML::Widget::Plugin::Link - a hyperlink
version 0.204
$widget_factory->link({ text => "my favorite D&D pages", href => 'http://rjbs.manxome.org/rubric/entries/tags/dnd', });
...or...
$widget_factory->link({ html => "some <em>great<em> d&d pages", href => 'http://rjbs.manxome.org/rubric/entries/tags/dnd', });
This plugin provides a basic input widget.
provided_widgets
This plugin provides the following widgets: link
link
This method returns a basic text hyperlink.
In addition to the generic HTML::Widget::Plugin attributes, the following are valid arguments:
This is the URI to which the link ... um ... links. If no href is supplied, an exception is thrown.
Either of these may contain the text of created link. If passed as html, it is not escaped; if passed as text, it is. If no text is supplied, the href is used. If both options are provided, an exception is thrown.
html
text
Ricardo SIGNES
This software is copyright (c) 2005 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HTML::Widget::Factory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Widget::Factory
CPAN shell
perl -MCPAN -e shell install HTML::Widget::Factory
For more information on module installation, please visit the detailed CPAN module installation guide.