Brandino Andreas wrote:

Hi list
I am using HTML::TreeBuilder to parse a html page and find a specific
value.

When i dump the array i get this:
$tree->dump();
........ more..................
 <td> @0.1.0.1.1.0.0.0.0
                  <b>@0.1.0.1.1.0.0.0.0.0
                    "MAC Address"
                <td width="20"> @0.1.0.1.1.0.0.0.1
                <td> @0.1.0.1.1.0.0.0.2
                  <b>@0.1.0.1.1.0.0.0.2.0
                    "000D28D760B6"
              <tr> @0.1.0.1.1.0.0.1
                <td> @0.1.0.1.1.0.0.1.0
........ more..................

Is there any way to get the "000D28D760B6" value by using
"@0.1.0.1.1.0.0.0.2.0" somehow? look_down function is accepting the
"dotted sequence of number" (the tree postition) so i can get the
value ?

my $address = $tree->address('0.1.0.1.1.0.0.0.2.0')->as_trimmed_text;

Rob

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to