HTML::Display::Common 0.36
Sponsored Links
HTML::Display::Common 0.36 Ranking & Summary
File size:
0.054 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1054
Date added:
2006-12-05
Publisher:
Max Maischein
HTML::Display::Common 0.36 description
HTML::Display::Common is a Perl module with routines common to all HTML::Display subclasses.
__PACKAGE__->new %ARGS
Creates a new object as a blessed hash. The passed arguments are stored within the hash. If you need to do other things in your constructor, remember to call this constructor as well :
package HTML::Display::WhizBang;
use base HTML::Display::Common;
sub new {
my ($class) = shift;
my %args = @_;
my $self = $class->SUPER::new(%args);
# do stuff
$self;
};
$display->display %ARGS
This is the routine used to display the HTML to the user. It takes the following parameters :
html => SCALAR containing the HTML
file => SCALAR containing the filename of the file to be displayed
base => optional base url for the HTML, so that relative links still work
location (synonymous to base)
Basic usage :
my $html = "< html >< body >< h1 >Hello world!< /h1 >< /body >< /html >";
my $browser = HTML::Display->new();
$browser->display( html => $html );
Location parameter :
If you fetch a page from a remote site but still want to display it to the user, the location parameter comes in very handy :
my $html = < html >< body >< /body >< /html >;
my $browser = HTML::Display->new();
# This will display part of the Google logo
$browser->display( html => $html, base => http://www.google.com );
__PACKAGE__->new %ARGS
Creates a new object as a blessed hash. The passed arguments are stored within the hash. If you need to do other things in your constructor, remember to call this constructor as well :
package HTML::Display::WhizBang;
use base HTML::Display::Common;
sub new {
my ($class) = shift;
my %args = @_;
my $self = $class->SUPER::new(%args);
# do stuff
$self;
};
$display->display %ARGS
This is the routine used to display the HTML to the user. It takes the following parameters :
html => SCALAR containing the HTML
file => SCALAR containing the filename of the file to be displayed
base => optional base url for the HTML, so that relative links still work
location (synonymous to base)
Basic usage :
my $html = "< html >< body >< h1 >Hello world!< /h1 >< /body >< /html >";
my $browser = HTML::Display->new();
$browser->display( html => $html );
Location parameter :
If you fetch a page from a remote site but still want to display it to the user, the location parameter comes in very handy :
my $html = < html >< body >< /body >< /html >;
my $browser = HTML::Display->new();
# This will display part of the Google logo
$browser->display( html => $html, base => http://www.google.com );
HTML::Display::Common 0.36 Screenshot
HTML::Display::Common 0.36 Keywords
HTML
Common 0.36
to all
Perl module
display
new
base
routines
subclasses
module
HTML::Display::Common
HTMLDisplayCommon
HTML::Display::Common 0.36
Libraries
Programming
Bookmark HTML::Display::Common 0.36
HTML::Display::Common 0.36 Copyright
WareSeeker periodically updates pricing and software information of HTML::Display::Common 0.36 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTML::Display::Common 0.36 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
HTMLpage is a text-based HTML editor. Free Download
HTML::FormRemove is a Perl module to remove form tags from HTML. Free Download
HTML::WikiConverter is a Perl module that can convert HTML to wiki markup. Free Download
HTML-Strip-Whitespace is a Perl module to strip whitespace out of HTML pages. Free Download
DocSet::Doc::Common is a Perl module with common functions used in DocSet::Doc subclasses. Free Download
HTML::WikiConverter::Markdown is a Perl module to convert HTML to Markdown markup. Free Download
HTML::Adsense is a Perl module that can create adsense widgets easily. Free Download
HTML::Declare is a Perl module for When Template Systems Are Too Huge And Heredocs Too Messy. Free Download
Latest Software
Popular Software
Favourite Software