r35013 - /trunk/dh-make-perl/lib/Debian/Dependencies.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Fri May 8 13:56:47 UTC 2009
Author: dmn
Date: Fri May 8 13:56:43 2009
New Revision: 35013
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=35013
Log:
Dependencies::new: allow usage as an object method
Modified:
trunk/dh-make-perl/lib/Debian/Dependencies.pm
Modified: trunk/dh-make-perl/lib/Debian/Dependencies.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/Dependencies.pm?rev=35013&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/Dependencies.pm (original)
+++ trunk/dh-make-perl/lib/Debian/Dependencies.pm Fri May 8 13:56:43 2009
@@ -64,7 +64,7 @@
sub new {
my ( $class, $val ) = @_;
- my $self = bless [], $class;
+ my $self = bless [], ref($class)||$class;
if ( defined($val) ) {
@{$self}
More information about the Pkg-perl-cvs-commits
mailing list