r66564 - in /branches/upstream/libload-perl/current: CHANGELOG META.yml README VERSION lib/load.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Tue Dec 28 17:43:36 UTC 2010
Author: jawnsy-guest
Date: Tue Dec 28 17:43:27 2010
New Revision: 66564
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66564
Log:
[svn-upgrade] new version libload-perl (0.20)
Modified:
branches/upstream/libload-perl/current/CHANGELOG
branches/upstream/libload-perl/current/META.yml
branches/upstream/libload-perl/current/README
branches/upstream/libload-perl/current/VERSION
branches/upstream/libload-perl/current/lib/load.pm
Modified: branches/upstream/libload-perl/current/CHANGELOG
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libload-perl/current/CHANGELOG?rev=66564&op=diff
==============================================================================
--- branches/upstream/libload-perl/current/CHANGELOG (original)
+++ branches/upstream/libload-perl/current/CHANGELOG Tue Dec 28 17:43:27 2010
@@ -1,3 +1,7 @@
+0.20 20 September 2010
+ Fixed problem that started to manifest itself with a slightly different
+ handling of localized $@, starting in perl 5.13.x.
+
0.19 24 April 2007
Fixed problem in test-suite that was long overseen because it would
work ok if load.pm was already installed (which it was on my dev
Modified: branches/upstream/libload-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libload-perl/current/META.yml?rev=66564&op=diff
==============================================================================
--- branches/upstream/libload-perl/current/META.yml (original)
+++ branches/upstream/libload-perl/current/META.yml Tue Dec 28 17:43:27 2010
@@ -1,10 +1,21 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: load
-version: 0.19
-version_from: lib/load.pm
-installdirs: site
-requires:
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+--- #YAML:1.0
+name: load
+version: 0.20
+abstract: load - control when subroutines will be loaded
+author:
+ - Elizabeth Mattijsen (liz at dijkmat.nl)
+license: unknown
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+requires: {}
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.57_05
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: branches/upstream/libload-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libload-perl/current/README?rev=66564&op=diff
==============================================================================
--- branches/upstream/libload-perl/current/README (original)
+++ branches/upstream/libload-perl/current/README Tue Dec 28 17:43:27 2010
@@ -10,7 +10,7 @@
modify it under the same terms as Perl itself.
Version:
- 0.19
+ 0.20
Required Modules:
(none)
Modified: branches/upstream/libload-perl/current/VERSION
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libload-perl/current/VERSION?rev=66564&op=diff
==============================================================================
--- branches/upstream/libload-perl/current/VERSION (original)
+++ branches/upstream/libload-perl/current/VERSION Tue Dec 28 17:43:27 2010
@@ -1,1 +1,1 @@
-0.19
+0.20
Modified: branches/upstream/libload-perl/current/lib/load.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libload-perl/current/lib/load.pm?rev=66564&op=diff
==============================================================================
--- branches/upstream/libload-perl/current/lib/load.pm (original)
+++ branches/upstream/libload-perl/current/lib/load.pm Tue Dec 28 17:43:27 2010
@@ -2,7 +2,7 @@
# Make sure we have version info for this module
-$VERSION = '0.19';
+$VERSION = '0.20';
#--------------------------------------------------------------------------
# No, we're NOT using strict here. There are several reasons, the most
@@ -97,11 +97,11 @@
sub import {
# Obtain the class (so we can check whether load or AutoLoader usage)
-# Obtain the module name
+# Obtain caller info
# Initialize the context flag
my $class = shift;
- my ($module,$filename) = caller();
+ my ($module,undef,$lineno) = caller();
# If there were any parameters specified
# Initialize the autoload export flag
@@ -189,11 +189,12 @@
*{$module.'::AUTOLOAD'} = \&AUTOLOAD if $autoload;
}
-# Elseif called from a script
-# Die indicating that doesn't make any sense
-
- } elsif ($module eq 'main' and $filename ne '-e') {
- die "Does not make sense to just 'use $class;' from your script";
+# Elseif called from a script or from command line (no action from command line)
+# Die indicating that doesn't make any sense if in a script
+
+ } elsif ($module eq 'main') {
+ die "Does not make sense to just 'use $class;' from your script"
+ if $lineno;
# Else (no parameters specified)
# Scan the source
@@ -529,7 +530,7 @@
=head1 VERSION
-This documentation describes version 0.19.
+This documentation describes version 0.20.
=head1 DESCRIPTION
More information about the Pkg-perl-cvs-commits
mailing list