Upgraded the DBD::Oracle to 1.52. It still seg faults.
So you haven't tried upgrading perl, DBI, or the oracle drivers? What versions are they currently at?
I should also mention that I do not have control over the Oracle end. Does the output need to be Perl friendly xml? Or can it just be any kind of string?
I don't know what "output" you are referring to. Note that I know nothing about Oracle's XML and stored procedures etc;
I commented in this thread purely to point out that a segfault implies a bug in some part of the perl system you are using, rather than a bug in your code itself (which is not to say your code isn't buggy too; I have no idea about that.)