I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2007-07-04 10:19:56-07 by mirod in response to 5601
Re: Coalescing adjacent #PCDATA elements?

Sorry for the delay, I missed your answer.

Indeed it makes sense to try to keep the trees normalized. It should also be more efficient than doing it "after the fact". I have to go through the (long!) list of methods and see which ones would need to check. Beyond cut and unwrap (erase is just an alias for unwrap) and methods which use those, I can think of set_tag (if you set to '#PCDATA'), set_content maybe (I have to check). I'll let you know when I have an updated version.

Thanks for the idea

Direct Responses: Write a response