In all the HTML::Parser examples I can find, the subroutines it calls print text or modify variables.
What I'd really like is to get it to return a value; for example if I had a parser that removed tags I'd like to be able to pass it a string with html in it and get back the string that resulted from removing the tags.
I can think of ways to achieve the same end results, but they all seem quite-not-elegant. I was wondering if anyone had any suggestions/knew of a good way to do this, so I can save myself the trouble of doing it one way and then deciding I did it all wrong and changing it and then later realizing that was all wrong etcetera...
Thanks,
Cayenne
In reply to Getting strings from HTML::Parser by cayenne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |