[libmoosex-lazyrequire-perl] 01/07: Make it clear it's an attribute name by quoting.
Intrigeri
intrigeri at moszumanska.debian.org
Wed Aug 27 21:25:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to annotated tag v0.10
in repository libmoosex-lazyrequire-perl.
commit 1532052d7cd977e9238103d474145ee2ee87caf2
Author: David Precious <davidp at preshweb.co.uk>
Date: Fri Mar 15 10:26:27 2013 +0000
Make it clear it's an attribute name by quoting.
---
lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm b/lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm
index 9935d62..f254e79 100644
--- a/lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm
+++ b/lib/MooseX/LazyRequire/Meta/Attribute/Trait/LazyRequire.pm
@@ -31,7 +31,7 @@ after _process_options => sub {
$options->{ lazy } = 1;
$options->{ required } = 1;
$options->{ default } = sub {
- confess "Attribute $name must be provided before calling reader"
+ confess "Attribute '$name' must be provided before calling reader"
};
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoosex-lazyrequire-perl.git
More information about the Pkg-perl-cvs-commits
mailing list