Hi everyone
I am having a bit of trouble understanding the methods in HTML::Parser.
My task is basically to parse lines in html files and every line is of structure. Consider the:
"{div class="message1"} {span class="date"} yyyy-mm-dd hh:mm:ss {/span} {span class="id"} id1 {/span} {span class="resource"} text1 {/span} - > {span class="id"} id2 {/span} {span class="resource"} text2 {/span} {span class="messagetext"} texttext {/span} {/div}"
What I want to obtain is a file with lines having only the data, with \t between every chunk of text si I can play with it further.
Any help is kindly appreciated. Curly brackets used to keep structure visible.
Thank you
In reply to HTML::Parser guidance by 4perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |