[libhttp-throwable-perl] 01/06: Moose 2.1100 deprecated the enum(qw(...)) syntax
Jonas Smedegaard
js at moszumanska.debian.org
Sat Mar 1 22:49:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libhttp-throwable-perl.
commit e07dfc0093a35b75d378635f6abd021aa2417b71
Author: Karen Etheridge <ether at cpan.org>
Date: Tue Nov 19 16:32:24 2013 -0800
Moose 2.1100 deprecated the enum(qw(...)) syntax
---
Changes | 1 +
lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Changes b/Changes
index 5ac03e5..8f0e79d 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
Revision history for Perl extension HTTP::Throwable
{{$NEXT}}
+ - removed use of deprecated enum syntax
0.017 2013-09-17 09:04:45 Asia/Tokyo
- removed use of deprecated Class::MOP::load_class
diff --git a/lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm b/lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm
index e39cfae..fd18a18 100644
--- a/lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm
+++ b/lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm
@@ -9,11 +9,11 @@ with(
'HTTP::Throwable::Role::BoringText',
);
-enum 'HTTP::Throwable::Type::Method' => qw[
+enum 'HTTP::Throwable::Type::Method' => [ qw[
OPTIONS GET HEAD
POST PUT DELETE
TRACE CONNECT
-];
+] ];
# TODO: Consider adding a coersion to upper-case lower-cased strings and to
# uniq the given input. -- rjbs, 2011-02-21
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-throwable-perl.git
More information about the Pkg-perl-cvs-commits
mailing list