[libconfig-model-dpkg-perl] 02/03: Build.PL: tweak style to avoid indentation problems with emacs

dod at debian.org dod at debian.org
Mon Jan 19 20:35:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit da0b95a8dc69318eff2398eed0b929e79c1bbd0f
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Jan 19 21:32:29 2015 +0100

    Build.PL: tweak style to avoid indentation problems with emacs
---
 Build.PL | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/Build.PL b/Build.PL
index 5805e41..a19e0b7 100644
--- a/Build.PL
+++ b/Build.PL
@@ -24,17 +24,17 @@ use strict;
 
 require 5.010001 ;
 
-my $class = Module::Build->subclass(
-    class => "Module::Build::Custom",
-    code => <<'SUBCLASS' );
+my $code = 'sub ACTION_build {
+    my $self = shift;
+    # below requires Config::Model 2.026, and need to use local library
+    system ( $^X, qw!-Ilib -S cme gen-class-pod! ) ;
+    $self->SUPER::ACTION_build;
+}';
 
-sub ACTION_build {
-my $self = shift;
-# below requires Config::Model 2.026, and need to use local library
-system ($^X, qw!-Ilib -S cme gen-class-pod!) ;
-$self->SUPER::ACTION_build;
-}
-SUBCLASS
+my $class = Module::Build->subclass(
+	class => "Module::Build::Custom",
+	code => $code,
+);
 
 my %appli_files = map { ( $_, $_ ) } glob("lib/Config/Model/*.d/*");
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



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