r76991 - /trunk/dh-make-perl/lib/DhMakePerl/Command/make.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun Jul 3 11:33:28 UTC 2011


Author: dmn
Date: Sun Jul  3 11:33:27 2011
New Revision: 76991

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76991
Log:
make Git/IO::Dir requirement truely optional by loading them on demand

Modified:
    trunk/dh-make-perl/lib/DhMakePerl/Command/make.pm

Modified: trunk/dh-make-perl/lib/DhMakePerl/Command/make.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Command/make.pm?rev=76991&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Command/make.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Command/make.pm Sun Jul  3 11:33:27 2011
@@ -589,8 +589,8 @@
 sub setup_git_repository {
     my ( $self, $tarball ) = @_;
 
-    use Git;
-    use IO::Dir;
+    require Git;
+    require IO::Dir;
 
     Git::command( 'init', $self->main_dir );
 




More information about the Pkg-perl-cvs-commits mailing list