good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: HTML::Tree: get value of an elementby Ratazong (Monsignor) |
on Feb 20, 2015 at 07:51 UTC ( [id://1117301]=note: print w/replies, xml ) | Need Help?? |
Thanks for your suggestion! I tested it, and it works fine. :-) Nevertheless, I solved the problem another way (as I don't like the idea of destroying my tree): I now additionally create the texts for the sub-elements, and then remove them from the top-element. This solution also doesn't make me happy (it is somehow waste) - however I don't have any problems with runtime or memory-usage now, so it doesn't hurt. And the additional amount of electrons moving around heats up the air in the room - which is not to bad in winter ;-) Rata
In Section
Seekers of Perl Wisdom
|
|