CGI-Formalware-1.16000755001750001750 011434642606 12725 5ustar00ronron000000000000CGI-Formalware-1.16/Build.PL000444001750001750 51611434642606 14340 0ustar00ronron000000000000use Module::Build; Module::Build -> new ( module_name => 'CGI::Formalware', license => 'artistic', dist_author => 'Ron Savage ', build_requires => { Test::More => 0, Test::Pod => 0, }, requires => { CGI => '2.45', Net::Telnet => '3.01', XML::DOM => '1.14', }, ) -> create_build_script(); CGI-Formalware-1.16/CHANGES000444001750001750 1070511434642606 14100 0ustar00ronron000000000000Revision history for Perl extension CGI::Formalware. 1.16 Sun Feb 21 12:54:37 2010 - Remove text 'All rights reserved' (for Debian licensing). - Remove POD heads 'Required Modules' and 'Changes'. 1.15 Wed Feb 10 14:01:26 2010 - MANIFEST.SKIP updated to exclude MYMETA.yml. Add MYMETA.yml. 1.14 Fri Nov 13 13:20:00 2009 - Run dos2unix - Rename Changes.txt to CHANGES 1.13 Thu Oct 27 19:40:00 2005 - Regenerate META.yml with Module::Build V 0.2611 to correct a faulty META.yml output by V 0.24 which falsely said 'provides: {}', which in turn stopped the PAUSE indexer from finding the module file, which in turn meant this module might be omitted from the master index: ftp://pause.perl.org/pub/PAUSE/modules/01modules.index.html 1.12 Mon Jul 19 14:10:00 2004 - Change Makefile.PL to coexist with Module::Build - Delete ./test.pl - Rewrite t/test.t to use Test::More - Add t/pod.t to test all PODs 1.11 Sun Mar 23 11:29:00 2003 - Move demos into examples/ directory - Change test.xml to use CSS /css/test.css rather than /test.css - No source code changes in this version - Patch to stop shipping blib/ directory in Unix distros, because the PAUSE indexer takes this directory to indicate a binary distro, which means it does not index the module, and this in turn means the module is not listed in the CPAN daily update list, etc. 1.10 Sun May 12 13:12:11 2002 - Clean up licence and email stuff in all modules, scripts and other docs. Upgrading is not necessary 1.09 29-Jun-2000 ---------------- o Tested under Apache 1.3.12 for Windows, with ActivePerl and with mod_perl. o The Table of Contents is now 'live', meaning you can click on a page's name to jump to that page. o Paragraphs can now have a text attribute. So, both of the following are accepted: o The number of columns in a radio group can be controlled. So, both of the following are accepted: o A file browse button is now available. Use it like this: This change requires the use of start_multipart_form(), rather than start_form(). o The initial page, which asks for the name of the XML file, now contains more explanatory text. o The output of local and remote scripts now have the '<' and '>' characters encoded as < and >. This applies particularly to the output of DOS directory listings. o The documentation has been expanded to spell out exactly which CGI functions are supported. These are: o General code clean-up: Hash items which were 'X' => Y, are now X => Y. 1.08 31-Jan-2000 ---------------- o Change usage of radio_buttons to avoid a bug in CGI.pm V 2.56 o Fix bugs which occurred when scripts are numbered o Change my email address to ron@savage.net.au & add the URI of the package 1.07 25-May-99 -------------- o Put Todo.txt text into POD o Ensure POD survives buggy pod2man 1.06 19-Apr-99 -------------- o Patch Makefile.PL to support ActivePerl's ppm. 1.05 1-Apr-99 -------------- o Add details to Makefile.PL. o Change die to croak, but we don't die anyway. 1.04 19-Mar-99 -------------- o Remove references to projectLib.pl from the docs. o Clean up the docs. 1.03 12-Mar-99 -------------- o Add constructor options and documentation to match. o Change die to croak. o Add support for cascading style sheets. o Add tables for main stuff and an optional Table of Contents for page TOCs. o Change all references from page to form. 1.02 17-Feb-99 -------------- o Add 'use constant'. 1.01 10-Feb-99 -------------- o Change name from xml2HtmlGenerator.pl to xml2CgiForm.pl. It's shorter :-). o Change start up screen's button to say 'Submit', not 'Next page'. o Fix error message which referred to textField instead of radioGroup. o Script headings must be unique per page, no longer unique overall. o radioGroup and textField names must be unique per page. This is for macros (%..%). o Expand macro handling to accept all field names on a form. o Remove special handling of %version% whenever %tag% was found. 1.00 2-Feb-99 ------------- o First version. CGI-Formalware-1.16/META.yml000444001750001750 112311434642606 14330 0ustar00ronron000000000000--- abstract: 'Convert an XML file into a suite of CGI forms.' author: - 'Ron Savage ' build_requires: Test::More: 0 Test::Pod: 0 configure_requires: Module::Build: 0.36 generated_by: 'Module::Build version 0.3607' license: artistic meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 name: CGI-Formalware provides: CGI::Formalware: file: lib/CGI/Formalware.pm version: 1.16 requires: CGI: 2.45 Net::Telnet: 3.01 XML::DOM: 1.14 resources: license: http://www.perlfoundation.org/artistic_license_1_0 version: 1.16 CGI-Formalware-1.16/README000444001750001750 316611434642606 13750 0ustar00ronron000000000000README file for CGI::Formalware. Warning: WinZip 8.1 and 9.0 both contain an 'accidental' bug which stops them recognizing POSIX-style directory structures in valid tar files. You are better off using a reliable tool such as InfoZip: ftp://ftp.info-zip.org/pub/infozip/ 1 Installing from a Unix-like distro ------------------------------------ shell>gunzip CGI-Formalware-1.12.tgz shell>tar mxvf CGI-Formalware-1.12.tar On Unix-like systems, assuming you have installed Module::Build V 0.25+: shell>perl Build.PL shell>./Build shell>./Build test shell>./Build install On MS Windows-like systems, assuming you have installed Module::Build V 0.25+: shell>perl Build.PL shell>perl Build shell>perl Build test shell>perl Build install Alternately, without Module::Build, you do this: Note: 'make' on MS Windows-like systems may be called 'nmake' or 'dmake'. shell>perl Makefile.PL shell>make shell>make test shell>su (for Unix-like systems) shell>make install shell>exit (for Unix-like systems) On all systems: Run Formalware.pm through you favourite pod2html translator. If you are using my fancy-pom2.pl, with its 'default.css' file installed in /apache2/htdocs/css/, you'd do: shell>perl fancy-pom2.pl html -css Formalware.pm > /apache2/htdocs/Formalware.html or perhaps something like: shell>perl fancy-pom2.pl html -css Formalware.pm > /perl/html/site/lib/CGI/Formalware.html 2 Installing from an ActiveState distro --------------------------------------- shell>unzip CGI-Formalware-1.12.zip shell>ppm install --location=. CGI-Formalware shell>del CGI-Formalware-1.12.ppd shell>del PPM-CGI-Formalware-1.12.tar.gz CGI-Formalware-1.16/MANIFEST000444001750001750 24411434642606 14173 0ustar00ronron000000000000Build.PL Changelog.ini CHANGES examples/test.css examples/test.xml lib/CGI/Formalware.pm Makefile.PL MANIFEST This list of files META.yml README t/pod.t t/test.t CGI-Formalware-1.16/Makefile.PL000444001750001750 125311434642606 15035 0ustar00ronron000000000000use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile ( ($] ge '5.005') ? ( 'AUTHOR' => 'Ron Savage (ron@savage.net.au)', 'ABSTRACT' => 'Convert an XML file into a suite of CGI forms', ) : (), clean => { FILES => 'blib/* Makefile MANIFEST CGI-Formalware-*' }, dist => { COMPRESS => 'gzip', SUFFIX => 'gz' }, DISTNAME => 'CGI-Formalware', NAME => 'CGI::Formalware', PL_FILES => {}, PREREQ_PM => { CGI => '2.45', Net::Telnet => '3.01', Test::More => 0, Test::Pod => 0, XML::DOM => '1.14', }, VERSION_FROM => 'lib/CGI/Formalware.pm' ); CGI-Formalware-1.16/Changelog.ini000444001750001750 1164211434642606 15476 0ustar00ronron000000000000[Module] Name=CGI::Formalware Changelog.Creator=Module::Metadata::Changes V 1.08 Changelog.Parser=Config::IniFiles V 2.57 [V 1.16] Date=2010-02-21T12:54:37 Comments= < o The number of columns in a radio group can be controlled. So both of the following are accepted: o A file browse button is now available. Use it like this: This change requires the use of start_multipart_form() rather than start_form(). o The initial page which asks for the name of the XML file now contains more explanatory text. o The output of local and remote scripts now have the '<' and '>' characters encoded as < and >. This applies particularly to the output of DOS directory listings. o The documentation has been expanded to spell out exactly which CGI functions are supported. These are: o General code clean-up: Hash items which were 'X' => Y are now X => Y. EOT [V 1.08] Date=2000-01-31T00:00:00 Comments= <