in reply to Re: Re: Using HTML::Parser extract text from tables
in thread Using HTML::Parser extract text from tables
Pushing tablenr will fix the recursive table though. You still increase $count each time you encounter a table start. You also set $tablenr to $count. Its only on table end that you restore $tablenr, but you do _not_ restore $count. Hence, each table is given a unique, increasing number.
Have you tried it btw? I haven't. so I'm only speaking theoretically here....
regards,
GoldClaw
|
|---|