--- doc/otherfiles/perl_modules.txt 2001/12/29 19:12:18 1.8 +++ doc/otherfiles/perl_modules.txt 2003/10/23 20:55:38 1.16 @@ -1,5 +1,4 @@ LON-CAPA perl modules -Scott Harrison May 28, 2001 October 4, 2001 October 20, 2001 @@ -16,9 +15,10 @@ Not ordinarily on a 6.2 or 7.1 system ----------------------------------------------- Digest ***NEED TO HAVE DIGEST::MD5, etc IN HERE*** +http://www.cpan.org/authors/id/GAAS/Digest-MD5-2.20.tar.gz ----------------------------------------------- Math-FFT -http://www.linuxjar.com/CPAN/authors/id/R/RK/RKOBES/Math-FFT-0.25.tar.gz +http://www.cpan.org/authors/id/R/RK/RKOBES/Math-FFT-0.25.tar.gz Randy Kobes [randy@theoryx5.uwinnipeg.ca] The Math::FFT module provides an interface to various @@ -71,7 +71,7 @@ make install files ----------------------------------------------- Math-Random -http://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Random-0.61.tar.gz +http://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Random-0.64.tar.gz Written by Geoffrey Rommel, John Venier and Barry W. Brown. We use this for the encoded randomizing functions needed for LON-CAPA homework @@ -205,13 +205,60 @@ Sean M. Burke [sburke@cpan.org] HTML/Parse.pm ---------------------------------------------- HTML-Parser -http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.25.tar.gz +http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.26.tar.gz Gisle Aas [gisle@aas.no] HTML/Parser.pm 1 HTML/TokeParser.pm 1 +Need this patches applied: + +diff -u HTML-Parser-3.26/hparser.c HTML-Parser-3.26.simpleslashfix/hparser.c +--- HTML-Parser-3.26/hparser.c Sun Mar 17 15:07:57 2002 ++++ HTML-Parser-3.26.simpleslashfix/hparser.c Fri Mar 22 13:23:17 2002 +@@ -1101,14 +1101,21 @@ + hctype_t tag_name_first, tag_name_char; + hctype_t attr_name_first, attr_name_char; + +- if (p_state->strict_names || p_state->xml_mode) { ++ if (p_state->strict_names) { + tag_name_first = attr_name_first = HCTYPE_NAME_FIRST; + tag_name_char = attr_name_char = HCTYPE_NAME_CHAR; + } + else { +- tag_name_first = tag_name_char = HCTYPE_NOT_SPACE_GT; +- attr_name_first = HCTYPE_NOT_SPACE_GT; +- attr_name_char = HCTYPE_NOT_SPACE_EQ_GT; ++ if (p_state->xml_mode) { ++ tag_name_first = tag_name_char = HCTYPE_NOT_SPACE_SLASH_GT; ++ attr_name_first = HCTYPE_NOT_SPACE_SLASH_GT; ++ attr_name_char = HCTYPE_NOT_SPACE_EQ_GT; ++ } ++ else { ++ tag_name_first = tag_name_char = HCTYPE_NOT_SPACE_GT; ++ attr_name_first = HCTYPE_NOT_SPACE_GT; ++ attr_name_char = HCTYPE_NOT_SPACE_EQ_GT; ++ } + } + + s += 2; +@@ -1165,8 +1172,11 @@ + else { + char *word_start = s; + while (s < end && isHNOT_SPACE_GT(*s)) { +- if (p_state->xml_mode && *s == '/') +- break; ++ if (p_state->xml_mode && *s == '/') { ++ /* look ahead to see if the tag ends */ ++ if ((s+1)==end || *(s+1)=='>') ++ break; ++ } + s++; + } + if (s == end) + ---------------------------------------------- IO-stringy http://www.cpan.org/authors/id/E/ER/ERYQ/IO-stringy-2.108.tar.gz +(needed by MIME-tools) ---------------------------------------------- MIME-Base64 http://www.cpan.org/authors/id/G/GA/GAAS/MIME-Base64-2.12.tar.gz @@ -306,7 +353,7 @@ Jeff Horwitz [jeff@smashing.org] Authen/Krb4.pm ---------------------------------------------- Crypt-DES/IDEA -http://www.cpan.org/authors/id/B/BT/BTROTT/Crypt-DES_EDE3-0.01.tar.gz +http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-2.03.tar.gz http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-IDEA-1.01.tar.gz Dave Paris [amused@pobox.com] Crypt/DES.pm @@ -384,12 +431,37 @@ Graham Barr [gbarr@pobox.com] IO/Socket/INET.pm IO/Socket/UNIX.pm + +**** IMPORTANT NOTE **** +For things to work well for perl 5.005 (redhat 6.2) +older versions of + /usr/lib/perl5/5.00503/i386-linux/IO.pm + /usr/lib/perl5/5.00503/i386-linux/IO/File.pm + /usr/lib/perl5/5.00503/i386-linux/IO/Handle.pm + /usr/lib/perl5/5.00503/i386-linux/IO/Pipe.pm + /usr/lib/perl5/5.00503/i386-linux/IO/Seekable.pm + /usr/lib/perl5/5.00503/i386-linux/IO/Select.pm + /usr/lib/perl5/5.00503/i386-linux/IO/Socket.pm + /usr/lib/perl5/5.00503/i386-linux/auto/IO/IO.so +are needed (can rewrite with rpm -Uvh perl after +installing LON-CAPA-systemperl). + perl Makefile.PL make make test (as root) make install +---------------------------------------------- PostScript-Simple +http://www.cpan.org/authors/id/M/MC/MCNEWTON/PostScript-Simple-0.05.tar.gz +Matthew C. Newton perl03@newtoncomputing.co.uk + PostScript/Simple.pm + +perl Makefile.pl +make +make test +(as root) +make install and others... (document incomplete)