in reply to Re: pls suggest XML parser in pure Perl?
in thread pls suggest XML parser in pure Perl?

Thanks for your detailed answer! In my case, I have to ship an OS X app with its backed written in perl. Unfortunately OSX does not ship any xml parser for perl (at least with all versions below 10.5.0, I didn't test Leopard yet).

Since each OS X version ships its own version of perl (and SAX and libxml), and OSX is available for PPC and x86 CPUs, shipping precompiled XML::Parser (for each version of perl and cpu) is not trivial..

I hope that XML I'll have to support won't use Entities at all.

  • Comment on Re^2: pls suggest XML parser in pure Perl?

Replies are listed 'Best First'.
Re^3: pls suggest XML parser in pure Perl?
by Fletch (Bishop) on Feb 22, 2008 at 14:42 UTC

    Actually if you give the OS X gcc multiple -arch flags it'll automagically create a fat binary that'll run on both. You should be able to twiddle the generated Makefile to pass the extra arguments without too much trouble. Then you could probably get away with a 10.4 and a 10.5 version.

    Another possibility might be to use PAR and make a multi-platform PAR archive with both versions available (again, one for 10.4, one for 10.5).

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.