Jonas Wolf schrieb:

I tried redirecting STDERR to a variable or a file, but this does not take effect inside P::RD because of the way the STDERR is handled. I'd prefer not to meddle with P::RD, but if that's the only solution then I will.
Here is some sample code which illustrates my point. The "This is an error message\n" gets read into the variable as expected, but P::RD's error messages are printed to STDERR nonetheless.

you can cheat P::RD with directly accessing $thisparser->{errors}, see the FAQ: 'Accessing error data' and the answer by Damian

Best Redards
        Charly

--
Karl Gaissmaier       KIZ/Infrastructure, University of Ulm, Germany
Email:[EMAIL PROTECTED]           Service Group Network

Reply via email to