laziness, impatience, and hubris | |
PerlMonks |
Writing processed html from Html::Parserby nglenn (Beadle) |
on Jan 14, 2011 at 03:11 UTC ( [id://882277]=perlquestion: print w/replies, xml ) | Need Help?? |
nglenn has asked for the wisdom of the Perl Monks concerning the following question: I am trying to process some html files with Html::Parser, and I want to write the processed text to new xml files. Placing a print statement in a handler prints to stdout, and it doesn't seem like it would be very efficient to pass a filename, open for appending, write the one tag to the file, and then close it again. Does anyone know a better way to do this?
Back to
Seekers of Perl Wisdom
|
|