Как я могу выбрать только из одной таблицы с Web :: Scraper?

Я хочу извлечь текст только для заголовка Методы объекта узла с веб-страницы. Конкретная часть HMTL выглядит следующим образом:

Node Object Properties
<p>The "DOM" column indicates in which DOM Level the property was introduced.</p>



Property
Description
DOM


    <a href="prop_node_attributes.asp">attributes</a>
    Returns a collection of a node's attributes
    1



    <a href="prop_node_baseuri.asp">baseURI</a>
    Returns the absolute base URI of a node
    3


    <a href="prop_node_childnodes.asp">childNodes</a>
    Returns a NodeList of child nodes for a node
    1


    <a href="prop_node_firstchild.asp">firstChild</a>
    Returns the first child of a node
    1


    <a href="prop_node_lastchild.asp">lastChild</a>
    Returns the last child of a node
    1


    <a href="prop_node_localname.asp">localName</a>
    Returns the local part of the name of a node
    2


    <a href="prop_node_namespaceuri.asp">namespaceURI</a>
    Returns the namespace URI of a node
    2


    <a href="prop_node_nextsibling.asp">nextSibling</a>
    Returns the next node at the same node tree level
    1


    <a href="prop_node_nodename.asp">nodeName</a>
    Returns the name of a node, depending on its type
    1


    <a href="prop_node_nodetype.asp">nodeType</a>
    Returns the type of a node
    1


    <a href="prop_node_nodevalue.asp">nodeValue</a>
    Sets or returns the value of a node, depending on its 
    type
    1


    <a href="prop_node_ownerdocument.asp">ownerDocument</a>
    Returns the root element (document object) for a node
    2


    <a href="prop_node_parentnode.asp">parentNode</a>
    Returns the parent node of a node
    1


    <a href="prop_node_prefix.asp">prefix</a>
    Sets or returns the namespace prefix of a node
    2


    <a href="prop_node_previoussibling.asp">previousSibling</a>
    Returns the previous node at the same node tree level
    1


    <a href="prop_node_textcontent.asp">textContent</a>
    Sets or returns the textual content of a node and its 
    descendants
    3



Node Object Methods
<p>The "DOM" column indicates in which DOM Level the method was introduced.</p>


Method
Description
DOM


    <a href="met_node_appendchild.asp">appendChild()</a>
    Adds a new child node, to the specified node, as the last child node
    1 


    <a href="met_node_clonenode.asp">cloneNode()</a>
    Clones a node
    1 


    <a href="met_node_comparedocumentposition.asp">compareDocumentPosition()</a>
    Compares the document position of two nodes
    1 


    getFeature(<span class="parameter">feature</span>,<span class="parameter">version</span>)
    Returns a DOM object which implements the specialized APIs 
    of the specified feature and version
    3 


    getUserData(<span class="parameter">key</span>)
    Returns the object associated to a key on a this node. The 
    object must first have been set to this node by calling setUserData with the 
    same key
    3 


    <a href="met_node_hasattributes.asp">hasAttributes()</a>
    Returns true if a node has any attributes, otherwise it 
    returns false
    2 


    <a href="met_node_haschildnodes.asp">hasChildNodes()</a>
    Returns true if a node has any child nodes, otherwise it 
    returns false
    1 


    <a href="met_node_insertbefore.asp">insertBefore()</a>
    Inserts a new child node before a specified, existing, child node
    1 


В Perl, если я напишу следующее:

 my $data = scraper {
 process "table.reference > tr > td > a", 'renners[]' => 'TEXT';
}

for my $i (0 .. $#{$res2->{renners}}) {
  print $res2->{renners}[$i];
print "\n";
}

Я получаю текст для всех тегов, т.е.

attributes
baseURI
.
.
.
.
insertBefore()

когда мне нужен текст тега<a></a> только для методов объекта Node, т.е.

appendChild()
.
.
.
insertBefore()

Короче говоря, я хочу напечатать только методы объекта NODE. Что я должен изменить в коде?

Ответы на вопрос(3)

Ваш ответ на вопрос