From: Dave Rolsky Date: Fri, 4 Sep 2009 22:08:45 +0000 (-0500) Subject: Reword description of is_empty X-Git-Tag: 0.89_02~39 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=276828facdc18a4702606e51d475ce7cd6643ac8;p=gitmo%2FMoose.git Reword description of is_empty --- diff --git a/lib/Moose/Meta/Attribute/Native/Trait/Array.pm b/lib/Moose/Meta/Attribute/Native/Trait/Array.pm index cd12326..5f9b8e9 100644 --- a/lib/Moose/Meta/Attribute/Native/Trait/Array.pm +++ b/lib/Moose/Meta/Attribute/Native/Trait/Array.pm @@ -81,7 +81,7 @@ Returns the number of elements in the array. =item B -Returns a boolean value indicating whether or not the array has any elements. +Returns a boolean value that is true when the array has no elements. $stuff->has_no_options ? die "No options!\n" : print "Good boy.\n";