NAME

HTML::DOM::NodeList - Magical node list class for HTML::DOM

SYNOPSIS

use HTML::DOM;
$doc = HTML::DOM->new;

$list = $doc->getElementsByTagName('p');
  # returns an HTML::DOM::NodeList::Magic object
  
$list->[0];     # first node
$list->item(0); # same

$list->length; # same as scalar @$list

DESCRIPTION

See HTML::DOM::NodeList both for a description and the API.

SEE ALSO

HTML::DOM

HTML::DOM::NodeList