WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: perl_xml_parser  (Read 1243 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14478
perl_xml_parser
« on: October 02, 2009, 03:32:20 AM »
split out the perl xml::parser module from the perl_xml extension (removed from the tcz repository) and re-compiled against the perl5 extension.

Since each perl module contains a perllocal.pod description, the following start-up script either copies perllocal.pod if no other perl modules are loaded or appends perllocal.pod to the exisiting perllocal.pod if other perl modules are already loaded:
Code: [Select]
#!/bin/sh

if [ -f /usr/local/lib/perl5/5.10.1/i686-linux/perllocal.pod ]; then
 cat /usr/local/share/perl_xml_parser/files/perllocal.pod >> /usr/local/lib/perl5/5.10.1/i686-linux/perllocal.pod
else
  [ -d /usr/local/lib/perl5/5.10.1/i686-linux ] ||
mkdir -p /usr/local/lib/perl5/5.10.1/i686-linux
  cp -p /usr/local/share/perl_xml_parser/files/perllocal.pod /usr/local/lib/perl5/5.10.1/i686-linux
fi

Code: [Select]
Title:          perl_xml_parser.tcz
Description:    perl xml::parser module
Version:        2.36
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 176KB
Extension_by:   juanito
Comments:       perl extension interface to the expat XML parser  
                ----------
                requires the perl5 and expat2 extensions
                ----------
                This extension contains:
                XML-Parser-2.36 - GPLv1 - http://cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-2.36.tar.gz
                ----------
Change-log:     first version
Current:        2009/10/01
« Last Edit: October 02, 2009, 04:55:35 AM by Juanito »