HTML::DOM::View - A Perl class for representing an HTML Document's 'defaultView'
use HTML::DOM; $doc = HTML::DOM->new; $view = $doc->defaultView; $view->document; # returns $doc
This class is used for an HTML::DOM object's 'default view.' It implements the AbstractView DOM interface.
Normally you don't need to call this constructor, but it's listed here for completeness' sake.
Returns the document associated with the view.
HTML::DOM
To install HTML::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::DOM
CPAN shell
perl -MCPAN -e shell install HTML::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.