From: Justin Hunter Date: Fri, 28 Aug 2009 23:51:36 +0000 (-0700) Subject: add List::MoreUtils X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9de0dc39fdb43ef5aa8f61ab0c286211e675f637;p=gitmo%2FMooseX-AutoDoc.git add List::MoreUtils --- diff --git a/Makefile.PL b/Makefile.PL index 9592378..978c4d5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,6 +9,7 @@ abstract 'Automatically generate documentation stubs for Moose-based classes.'; all_from 'lib/MooseX/AutoDoc.pm'; # Specific dependencies +requires 'List::MoreUtils', '0.22'; requires 'Moose', '0.89'; requires 'namespace::autoclean', '0.08'; requires 'Template'; diff --git a/lib/MooseX/AutoDoc.pm b/lib/MooseX/AutoDoc.pm index 260ae99..f751986 100644 --- a/lib/MooseX/AutoDoc.pm +++ b/lib/MooseX/AutoDoc.pm @@ -5,7 +5,8 @@ use Carp; use Class::MOP; use Moose::Meta::Role; use Moose::Meta::Class; -use Scalar::Util qw/blessed/; +use Scalar::Util qw(blessed); +use List::MoreUtils qw(any); use namespace::autoclean; # Create a special TypeConstraint for the View so you can just set it