From: Yuval Kogman Date: Sun, 12 Oct 2008 17:01:56 +0000 (+0000) Subject: namespace::clean example in style X-Git-Tag: 0.59~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5bfcfd336736c8d6e9abd7066cc3b1a1d01e4984;p=gitmo%2FMoose.git namespace::clean example in style --- diff --git a/lib/Moose/Cookbook/Style.pod b/lib/Moose/Cookbook/Style.pod index 67da29d..7aff465 100644 --- a/lib/Moose/Cookbook/Style.pod +++ b/lib/Moose/Cookbook/Style.pod @@ -175,6 +175,11 @@ For instance: will return true, even though C is not a method. +If you choose L, make sure to keep the C method if you +want to use it for introspection: + + use namespace::clean -except => "meta"; + =head1 Accept no substitutes By substitutes I mean hacks instead of "proper" solutions.