Anybody out there have experience using both Expat.pm and DBI.pm?  I have perl 5
scripts that can parse XML documents and scripts that can access Oracle, but not
both!

I'm using perl 5.0 patchlevel 4 subversion 4 under aix 4.3.3.

When I "use" Oraperl.pm in a script already successfully parsing XML files, I
get:

Undefined subroutine &main: called at Parser.pm line 185.  (Parser.pm is just a
wrapper around Expat.pm, and line 185 is an eval calling the parse sub).

It's not even telling me what !@#$ subroutine is undefined!

"use"ing Oraperl has DBI.pm installing the DBD::Oracle driver, and that's
successful, but later when executing a call to the parse subroutine in Expat.pm
I get this error.  I never actually do anything with the Oraperl.  This same
line works fine if I don't "use" Oraperl, but I need to put the results of the
parse into an oracle 'base.

Thanks,
Steve


Reply via email to