in reply to Re^4: duplicate table with HTML::TreeBuilder look_down method
in thread duplicate table with HTML::TreeBuilder look_down method
"I am trying to loop through the array ref but I am can't to able to. Am I missing something?"
Your problem is looping through an arrayref!
An arrayref is a single scalar. In this case: "ARRAY(0x2ae4b40)".
You probably want to loop through the actual array (@tds), not the arrayref (\@tds).
This will output each element of @tds:
for my $td (@tds) { say $td; }
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: duplicate table with HTML::TreeBuilder look_down method
by mazdajai (Novice) on May 15, 2015 at 13:15 UTC | |
by jeffa (Bishop) on May 15, 2015 at 17:34 UTC | |
by mazdajai (Novice) on May 16, 2015 at 05:25 UTC |