[Bps-public-commit] Config-GitLike branch, master, updated. f53cd4731612e68db51a12c51302eebefe995c11
jesse
jesse at bestpractical.com
Sat Jul 11 13:18:44 EDT 2009
The branch, master has been updated
via f53cd4731612e68db51a12c51302eebefe995c11 (commit)
from bf7e83fe01d13316129dd3b6c6a807734b595c5a (commit)
Summary of changes:
lib/Config/GitLike.pm | 4 +---
lib/Config/GitLike/Cascaded.pm | 6 +-----
lib/Config/GitLike/Git.pm | 6 +-----
t/lib/TestConfig.pm | 2 +-
4 files changed, 4 insertions(+), 14 deletions(-)
- Log -----------------------------------------------------------------
commit f53cd4731612e68db51a12c51302eebefe995c11
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sat Jul 11 13:18:25 2009 -0400
Moose -> Any::Moose
With 'use Any::Moose' you don't need use strict;
diff --git a/lib/Config/GitLike.pm b/lib/Config/GitLike.pm
index c6c21f9..a69b0ed 100644
--- a/lib/Config/GitLike.pm
+++ b/lib/Config/GitLike.pm
@@ -1,11 +1,9 @@
package Config::GitLike;
+use Any::Moose;
-use strict;
-use warnings;
use File::Spec;
use Cwd;
use Regexp::Common;
-use Any::Moose;
use Scalar::Util qw(openhandle);
use Fcntl qw(O_CREAT O_EXCL O_WRONLY);
use 5.008;
diff --git a/lib/Config/GitLike/Cascaded.pm b/lib/Config/GitLike/Cascaded.pm
index 20ce740..007ed80 100644
--- a/lib/Config/GitLike/Cascaded.pm
+++ b/lib/Config/GitLike/Cascaded.pm
@@ -1,8 +1,4 @@
package Config::GitLike::Cascaded;
-
-use strict;
-use warnings;
-
use Any::Moose;
use Cwd;
use File::Spec;
@@ -21,7 +17,7 @@ sub load_dirs {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/lib/Config/GitLike/Git.pm b/lib/Config/GitLike/Git.pm
index a06d4a1..4e7fa56 100644
--- a/lib/Config/GitLike/Git.pm
+++ b/lib/Config/GitLike/Git.pm
@@ -1,8 +1,4 @@
package Config::GitLike::Git;
-
-use strict;
-use warnings;
-
use Any::Moose;
extends 'Config::GitLike';
@@ -28,7 +24,7 @@ sub global_file {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
diff --git a/t/lib/TestConfig.pm b/t/lib/TestConfig.pm
index f0c876c..853cb8e 100644
--- a/t/lib/TestConfig.pm
+++ b/t/lib/TestConfig.pm
@@ -35,7 +35,7 @@ sub global_file {
}
__PACKAGE__->meta->make_immutable;
-no Moose;
+no Any::Moose;
1;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list