in reply to Problem getting fields out of an XPath node list
Your program never reaches the my @node_list = $node->findvalues('td/tr') due to the next on the preceding line, so @node_list never gets populated.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial Deltronics
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Problem getting fields out of an XPath node list
by ejc1 (Novice) on Mar 29, 2016 at 14:30 UTC | |
by Corion (Patriarch) on Mar 29, 2016 at 14:32 UTC | |
by ejc1 (Novice) on Mar 29, 2016 at 14:58 UTC | |
by Corion (Patriarch) on Mar 29, 2016 at 15:44 UTC | |
by tangent (Parson) on Mar 29, 2016 at 15:51 UTC | |
by ejc1 (Novice) on Mar 29, 2016 at 16:27 UTC | |
by tangent (Parson) on Mar 29, 2016 at 17:19 UTC |
In Section
Seekers of Perl Wisdom