Tue Jan 27 09:32:14 2009: Request 38067 was acted upon.
Transaction: Correspondence added by GONERI
       Queue: PAR-Packer
     Subject: Can't use XML::SAX in a PAR::Packer standalone due to 
ParserDetails.ini problem
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=38067 >


Le Ven. Sep. 05 10:41:28 2008, SMUELLER a écrit :
Hi,

For whose who look for an (ugly) workaround. I add this on the top of my
main script:

use XML::Simple;
{
    no strict 'refs';
    *{"XML::SAX::"}{HASH}{parsers} = sub {
        return [ {
            'Features' => {
                'http://xml.org/sax/features/namespaces' => '1'
            },
            'Name' => 'XML::SAX::PurePerl'
        }
        ]
    };
}

Reply via email to