r19323 - in /branches/upstream/libuniversal-require-perl/current: Changes MANIFEST META.yml SIGNATURE lib/UNIVERSAL/require.pm t/require.t
yvesago-guest at users.alioth.debian.org
yvesago-guest at users.alioth.debian.org
Thu May 1 13:43:30 UTC 2008
Author: yvesago-guest
Date: Thu May 1 13:43:29 2008
New Revision: 19323
URL: http://svn.debian.org/wsvn/?sc=1&rev=19323
Log:
[svn-upgrade] Integrating new upstream version, libuniversal-require-perl (0.11)
Added:
branches/upstream/libuniversal-require-perl/current/SIGNATURE
Modified:
branches/upstream/libuniversal-require-perl/current/Changes
branches/upstream/libuniversal-require-perl/current/MANIFEST
branches/upstream/libuniversal-require-perl/current/META.yml
branches/upstream/libuniversal-require-perl/current/lib/UNIVERSAL/require.pm
branches/upstream/libuniversal-require-perl/current/t/require.t
Modified: branches/upstream/libuniversal-require-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libuniversal-require-perl/current/Changes?rev=19323&op=diff
==============================================================================
--- branches/upstream/libuniversal-require-perl/current/Changes (original)
+++ branches/upstream/libuniversal-require-perl/current/Changes Thu May 1 13:43:29 2008
@@ -1,3 +1,8 @@
+0.11 Sat Nov 11 18:13:20 CST 2006
+ * Sped up require() by about 400% for already loaded modules.
+ [rt.cpan.org 21141]
+ - Fix the test for the changed version error in 5.10.
+
0.10 Mon Oct 10 19:10:33 PDT 2005
* Split out of UNIVERSAL-exports into its own distribution.
* UNIVERSAL::require no longer uses eval STRING in require(). This
Modified: branches/upstream/libuniversal-require-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/branches/upstream/libuniversal-require-perl/current/MANIFEST?rev=19323&op=diff
==============================================================================
--- branches/upstream/libuniversal-require-perl/current/MANIFEST (original)
+++ branches/upstream/libuniversal-require-perl/current/MANIFEST Thu May 1 13:43:29 2008
@@ -7,3 +7,4 @@
t/taint.t
t/use.t
META.yml Module meta-data (added by MakeMaker)
+SIGNATURE Public-key signature (added by MakeMaker)
Modified: branches/upstream/libuniversal-require-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libuniversal-require-perl/current/META.yml?rev=19323&op=diff
==============================================================================
--- branches/upstream/libuniversal-require-perl/current/META.yml (original)
+++ branches/upstream/libuniversal-require-perl/current/META.yml Thu May 1 13:43:29 2008
@@ -1,13 +1,12 @@
--- #YAML:1.0
name: UNIVERSAL-require
-version: 0.10
+version: 0.11
abstract: ~
license: perl
-generated_by: ExtUtils::MakeMaker version 6.30_01
-author: ~
+generated_by: ExtUtils::MakeMaker version 6.31
distribution_type: module
requires:
Test::More: 0.47
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-new.html
- version: 1.1
+ url: http://module-build.sourceforge.net/META-spec-v1.2.html
+ version: 1.2
Added: branches/upstream/libuniversal-require-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/branches/upstream/libuniversal-require-perl/current/SIGNATURE?rev=19323&op=file
==============================================================================
--- branches/upstream/libuniversal-require-perl/current/SIGNATURE (added)
+++ branches/upstream/libuniversal-require-perl/current/SIGNATURE Thu May 1 13:43:29 2008
@@ -1,0 +1,32 @@
+This file contains message digests of all files listed in MANIFEST,
+signed via the Module::Signature module, version 0.55.
+
+To verify the content in this distribution, first make sure you have
+Module::Signature installed, then type:
+
+ % cpansign -v
+
+It will check each file's integrity, as well as the signature's
+validity. If "==> Signature verified OK! <==" is not displayed,
+the distribution may already have been compromised, and you should
+not run its Makefile.PL or Build.PL.
+
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+SHA1 f69d537b2403ebf7ec06290a66d0a57075136bdd Changes
+SHA1 9715d81055567a1011e6f6b12feb609bb0578e9c MANIFEST
+SHA1 17697baead576a0fff6a6fb93be7db4c3e6659ca META.yml
+SHA1 61f2d71422f14821a3fa7dd8a27816dec69be7ac Makefile.PL
+SHA1 099f3ed5bd88692e986dc6342853fab9e28c1f5c lib/UNIVERSAL/require.pm
+SHA1 d61d5af638badb57470992348c30648786868987 t/Dummy.pm
+SHA1 8f645199e54c04363fe2fa1be22df1c32d741ab7 t/require.t
+SHA1 55c5a15b4033df55d7393a3056d6da7efe1c1538 t/taint.t
+SHA1 4a169deefc6417d1ab2e5465f7d8d63205bf895b t/use.t
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (Darwin)
+
+iD8DBQFFVmi8WMohlhD1QycRAp8DAKDJTpAmdKWSiHda1nH9MI6Uh+5O6wCfYKoL
+IJlfBIXR07ek1Et9e/051io=
+=qq2M
+-----END PGP SIGNATURE-----
Modified: branches/upstream/libuniversal-require-perl/current/lib/UNIVERSAL/require.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libuniversal-require-perl/current/lib/UNIVERSAL/require.pm?rev=19323&op=diff
==============================================================================
--- branches/upstream/libuniversal-require-perl/current/lib/UNIVERSAL/require.pm (original)
+++ branches/upstream/libuniversal-require-perl/current/lib/UNIVERSAL/require.pm Thu May 1 13:43:29 2008
@@ -1,5 +1,5 @@
package UNIVERSAL::require;
-$UNIVERSAL::require::VERSION = '0.10';
+$UNIVERSAL::require::VERSION = '0.11';
# We do this because UNIVERSAL.pm uses CORE::require(). We're going
# to put our own require() into UNIVERSAL and that makes an ambiguity.
@@ -83,6 +83,11 @@
# Load the module.
my $file = $module . '.pm';
$file =~ s{::}{/}g;
+
+ # For performance reasons, check if its already been loaded. This makes
+ # things about 4 times faster.
+ return 1 if $INC{$file};
+
my $return = eval qq{
#line $call_line "$call_file"
CORE::require(\$file);
Modified: branches/upstream/libuniversal-require-perl/current/t/require.t
URL: http://svn.debian.org/wsvn/branches/upstream/libuniversal-require-perl/current/t/require.t?rev=19323&op=diff
==============================================================================
--- branches/upstream/libuniversal-require-perl/current/t/require.t (original)
+++ branches/upstream/libuniversal-require-perl/current/t/require.t Thu May 1 13:43:29 2008
@@ -20,7 +20,7 @@
delete $INC{'Dummy.pm'};
ok( !Dummy->require(1.0), 'require($version) fail' );
like( $UNIVERSAL::require::ERROR,
- '/^Dummy version 1 required--this is only version 0.5/' );
+ '/^Dummy version 1.* required--this is only version 0.5/' );
}
{
More information about the Pkg-perl-cvs-commits
mailing list