Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Another Reason RTFMing Is A Good Thing

by Herkum (Parson)
on Oct 21, 2009 at 22:10 UTC ( [id://802550]=note: print w/replies, xml ) Need Help??


in reply to Another Reason RTFMing Is A Good Thing

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.

  • Comment on Re: Another Reason RTFMing Is A Good Thing

Replies are listed 'Best First'.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://802550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found