I was using XML::Twig to parse a document and was using flush to get rid of of pieces that I had parsed. However, I noticed that on the web page, where I was displaying my results, that I was getting a real screwed up web page.
Twig's flush not only deletes the element from the tree but also prints it out. I did not read this part of the documentation when I working on the code. What I should have done(and ending up doing) was using purge, which does the same thing except it does not print out the element.
In reply to Re: Another Reason RTFMing Is A Good Thing
by Herkum
in thread Another Reason RTFMing Is A Good Thing
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |