r32049 - in /branches/upstream/libcgi-simple-perl/current: Changes META.yml Makefile.PL README SIGNATURE lib/CGI/Simple.pm lib/CGI/Simple/Cookie.pm lib/CGI/Simple/Standard.pm lib/CGI/Simple/Util.pm
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Fri Mar 13 23:46:55 UTC 2009
Author: ryan52-guest
Date: Fri Mar 13 23:46:52 2009
New Revision: 32049
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=32049
Log:
[svn-upgrade] Integrating new upstream version, libcgi-simple-perl (1.108)
Modified:
branches/upstream/libcgi-simple-perl/current/Changes
branches/upstream/libcgi-simple-perl/current/META.yml
branches/upstream/libcgi-simple-perl/current/Makefile.PL
branches/upstream/libcgi-simple-perl/current/README
branches/upstream/libcgi-simple-perl/current/SIGNATURE
branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm
branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm
branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm
branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm
Modified: branches/upstream/libcgi-simple-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-simple-perl/current/Changes?rev=32049&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/Changes (original)
+++ branches/upstream/libcgi-simple-perl/current/Changes Fri Mar 13 23:46:52 2009
@@ -155,3 +155,6 @@
- Add heuristic to upload to handle the case where no boundary is
specified in CONTENT_TYPE. See #14838.
+1.108 2009-03-13
+ - Remove bogus references to Selfloader in documenation. No
+ functional changes.
Modified: branches/upstream/libcgi-simple-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-simple-perl/current/META.yml?rev=32049&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/META.yml (original)
+++ branches/upstream/libcgi-simple-perl/current/META.yml Fri Mar 13 23:46:52 2009
@@ -1,28 +1,28 @@
---
name: CGI-Simple
-version: 1.107
+version: 1.108
author:
- 'Andy Armstrong <andy at hexten.net>'
abstract: A Simple totally OO CGI interface that is CGI.pm compliant
license: perl
resources:
- license: ~
+ license: http://dev.perl.org/licenses/
requires:
Test::More: 0
provides:
CGI::Simple:
file: lib/CGI/Simple.pm
- version: 1.107
+ version: 1.108
CGI::Simple::Cookie:
file: lib/CGI/Simple/Cookie.pm
- version: 1.107
+ version: 1.108
CGI::Simple::Standard:
file: lib/CGI/Simple/Standard.pm
- version: 1.107
+ version: 1.108
CGI::Simple::Util:
file: lib/CGI/Simple/Util.pm
- version: 1.107
-generated_by: Module::Build version 0.31012
+ version: 1.108
+generated_by: Module::Build version 0.32
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
Modified: branches/upstream/libcgi-simple-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-simple-perl/current/Makefile.PL?rev=32049&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/Makefile.PL (original)
+++ branches/upstream/libcgi-simple-perl/current/Makefile.PL Fri Mar 13 23:46:52 2009
@@ -3,13 +3,21 @@
WriteMakefile(
( MM->can( 'signature_target' ) ? ( SIGN => 1 ) : () ),
+ license( 'perl' ),
NAME => 'CGI::Simple',
AUTHOR => 'Andy Armstrong <andy at hexten.net>',
VERSION_FROM => 'lib/CGI/Simple.pm',
ABSTRACT_FROM => 'lib/CGI/Simple.pm',
- LICENSE => 'perl',
PL_FILES => {},
PREREQ_PM => { 'Test::More' => 0, },
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'CGI-Simple-*' },
);
+
+sub license {
+ my $lic = shift;
+ local $^W = 0; # Silence warning about non-numeric version
+ return
+ unless $ExtUtils::MakeMaker::VERSION >= '6.31';
+ return ( LICENSE => $lic );
+}
Modified: branches/upstream/libcgi-simple-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-simple-perl/current/README?rev=32049&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/README (original)
+++ branches/upstream/libcgi-simple-perl/current/README Fri Mar 13 23:46:52 2009
@@ -1,4 +1,4 @@
-CGI-Simple version 1.107
+CGI-Simple version 1.108
INSTALLATION
Modified: branches/upstream/libcgi-simple-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-simple-perl/current/SIGNATURE?rev=32049&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/SIGNATURE (original)
+++ branches/upstream/libcgi-simple-perl/current/SIGNATURE Fri Mar 13 23:46:52 2009
@@ -15,15 +15,15 @@
Hash: SHA1
SHA1 706f0c6def0e7917bf4b94d52ea75af1a2cacee3 Build.PL
-SHA1 f92807cc0df949acd500cdf5af961778fb096108 Changes
+SHA1 b40b3e6da48655a4bf411d3d95f361fe9314155b Changes
SHA1 32baa58c4ee8a9f9b4b386ed1dc00a882eed3c39 MANIFEST
-SHA1 1193a1aac4332f5d234ae2dea97dca230254e71b META.yml
-SHA1 9b2429330fc42f4d34b6b75fc27b659aacd185a4 Makefile.PL
-SHA1 8581b7562100d5096fe8c8af56a686baaec7bfd8 README
-SHA1 183f8128c5245773c2b40be339dabd8ae581c628 lib/CGI/Simple.pm
-SHA1 2e47c0e97c6b7a9d257bfc8113abeafd983df717 lib/CGI/Simple/Cookie.pm
-SHA1 8a4d679ca517313fd7ffce5ed41b85925c20c5b9 lib/CGI/Simple/Standard.pm
-SHA1 f907cc442c4ba963c72bd7f2a46b4b9fba9bccfb lib/CGI/Simple/Util.pm
+SHA1 fa9259f6e68b7c1f1456f9fb914c63c81eb7a89e META.yml
+SHA1 a319c0eeaf2d35f87387cca92b851564bcb128d6 Makefile.PL
+SHA1 5d23f870211f2c2c4c86ee70d56f99d780a1d4f3 README
+SHA1 3b54b5e252d3c925619ea6fff490f27e9de6e3ad lib/CGI/Simple.pm
+SHA1 6b079d735405493c7ecf6c1273f3d285c5227534 lib/CGI/Simple/Cookie.pm
+SHA1 d8a066fc305ffd6517fa8beb43017f5d8bfa88ec lib/CGI/Simple/Standard.pm
+SHA1 c90f817f87b016952b1abbfc024c477caca05732 lib/CGI/Simple/Util.pm
SHA1 029a0c2274884058f99bc339fd5bb073348c2b77 t/000.load.t
SHA1 2b2ff00999214136e5ac075c79bef7146fd4274b t/020.cookie.t
SHA1 ca2ff8ba2f9a5f68c75e8d9527af38b042067148 t/030.function.t
@@ -39,7 +39,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
-iEYEARECAAYFAkmy5gMACgkQwoknRJZQnCE5+QCgjhM7K++Ke9BVnN/8KMOHg4jn
-3fsAnRCAkb8kDPdlX9OBBeHmKfH6ZEER
-=OiWI
+iEYEARECAAYFAkm6aCMACgkQwoknRJZQnCGsDACdG5kbX142BvpZn4A0Jcblx4Hb
+7OEAoIf4WVhE8DUXcHmOJ5rpX9992AJa
+=UkI1
-----END PGP SIGNATURE-----
Modified: branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm?rev=32049&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm (original)
+++ branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple.pm Fri Mar 13 23:46:52 2009
@@ -13,7 +13,7 @@
$NPH $DEBUG $NO_NULL $FATAL *in
);
-$VERSION = "1.107";
+$VERSION = "1.108";
# you can hard code the global variable settings here if you want.
# warning - do not delete the unless defined $VAR part unless you
@@ -638,16 +638,6 @@
'overwrite' );
return wantarray ? @{ $self->{$param} } : $self->{$param}->[0];
}
-
-#1;
-
-############### The following methods only loaded on demand ###############
-############### Move commonly used methods above the __DATA__ ###############
-############### token if you are into recreational optimization ###############
-############### You can not use Selfloader and the __DATA__ ###############
-############### token under mod_perl, so comment token out ###############
-
-#__DATA__
# a new method that provides access to a new internal routine. Useage:
# $q->add_param( $param, $value, $overwrite )
@@ -1453,7 +1443,7 @@
=head1 VERSION
-This document describes CGI::Simple version 1.107.
+This document describes CGI::Simple version 1.108.
=head1 SYNOPSIS
@@ -3365,40 +3355,13 @@
CgiDie()
CgiError()
-=cut
-
-############### Compatibility with mod_perl ################
-
-=head1 COMPATIBILITY WITH mod_perl
-
-This module uses Selfloader and the __DATA__ token to ensure that only code
-that is used gets complied. This optimises performance but means that it
-will not work under mod_perl in its default configuration. To configure it
-to run under mod perl you would need to remove two lines from the module.
-
- use Selfloader;
-
- ....
-
- __DATA__
-
-With these two lines gone the entire module will load and compile at mod_perl
-startup. CGI::Simple's pure OO methods return data significantly faster than
-CGI.pm's OO methods
-
-=cut
-
-############### Compatibility with CGI.pm ################
-
=head1 COMPATIBILITY WITH CGI.pm
I has long been suggested that the CGI and HTML parts of CGI.pm should be
split into separate modules (even the author suggests this!), CGI::Simple
represents the realization of this and contains the complete CGI side of
CGI.pm. Code-wise it weighs in at a little under 30% of the size of CGI.pm at
-a little under 1000 lines. It uses SelfLoader and only compiles the first 350
-lines. Other routines are loaded on first use. Internally around half the
-code is new although the method interfaces remain unchanged.
+a little under 1000 lines.
A great deal of care has been taken to ensure that the interface remains
unchanged although a few tweaks have been made. The test suite is extensive
@@ -3426,17 +3389,7 @@
=head1 DIFFERENCES FROM CGI.pm
-CGI::Simple is strict and warnings compliant. SelfLoader is used to load only
-the required code. You can easily optimize code loading simply by moving the
-__DATA__ token. Commonly called methods should go above the token and will
-be compiled at compile time (on load). Uncommonly used methods go below the
-__DATA__ token and will only be compiled as required at runtime when the
-method is actually called.
-
-As well as using SelfLoader to load the non core methods, Simple.pm uses
-IO::File to supply anonymous temp files for file uploads and Data::Dumper
-for cloning objects and dumping data. These modules are all part of the
-standard Perl distribution.
+CGI::Simple is strict and warnings compliant.
There are 4 modules in this distribution:
@@ -3584,14 +3537,6 @@
-no_xhtml
-private_tempfiles
--compile has been removed as it is not available using SelfLoader. If you
-wish to compile all of CGI::Simple comment out the line:
-
- use SelfLoader
-
-and remove the __DATA__ token. Tempfiles are now private by default and the
-other pragmas are HTML related.
-
=head2 Filehandles
Unlike CGI.pm which tries to accept all filehandle like objects only \*FH
Modified: branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm?rev=32049&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm (original)
+++ branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Cookie.pm Fri Mar 13 23:46:52 2009
@@ -12,7 +12,7 @@
use strict;
use vars '$VERSION';
-$VERSION = '1.107';
+$VERSION = '1.108';
use CGI::Simple::Util qw(rearrange unescape escape);
use overload '""' => \&as_string, 'cmp' => \&compare, 'fallback' => 1;
Modified: branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm?rev=32049&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm (original)
+++ branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Standard.pm Fri Mar 13 23:46:52 2009
@@ -7,7 +7,7 @@
$NO_UNDEF_PARAMS $USE_PARAM_SEMICOLONS $HEADERS_ONCE
$NPH $DEBUG $NO_NULL $FATAL *in %EXPORT_TAGS $AUTOLOAD );
-$VERSION = "1.107";
+$VERSION = "1.108";
%EXPORT_TAGS = (
':html' => [qw(:misc)],
Modified: branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm?rev=32049&op=diff
==============================================================================
--- branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm (original)
+++ branches/upstream/libcgi-simple-perl/current/lib/CGI/Simple/Util.pm Fri Mar 13 23:46:52 2009
@@ -1,7 +1,7 @@
package CGI::Simple::Util;
use strict;
use vars qw( $VERSION @EXPORT_OK @ISA $UTIL );
-$VERSION = '1.107';
+$VERSION = '1.108';
require Exporter;
@ISA = qw( Exporter );
@EXPORT_OK = qw(
More information about the Pkg-perl-cvs-commits
mailing list