in reply to CDATA Parsing for XML::Parser

The start of the CDATA section triggers the CdataStart handler, the end the CdataEnd handler, and the content is caught by the Char handler. So all you need is to set a flag when the CDATA section starts, then capture characters while the flag is set, then unset the flag at the end of the section.

Now for some unwanted advice: