From: Ash Berlin Date: Tue, 8 Sep 2009 13:13:59 +0000 (+0000) Subject: Pod fixes (RT#33975 and RT#43040) X-Git-Tag: v1.001000~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b34a40253adddbf333c2d158815b2ab31ab5d85c;p=p5sagit%2FClass-C3-Componentised.git Pod fixes (RT#33975 and RT#43040) --- diff --git a/lib/Class/C3/Componentised.pm b/lib/Class/C3/Componentised.pm index 5d8c73b..489ea28 100644 --- a/lib/Class/C3/Componentised.pm +++ b/lib/Class/C3/Componentised.pm @@ -22,7 +22,7 @@ Load mix-ins or components to your C3-based class. package main; MyModule->load_components( qw/Foo Bar/ ); - # Will load MyModule::Component::Foo an MyModule::Component::Bar + # Will load MyModule::Component::Foo and MyModule::Component::Bar =head1 DESCRIPTION @@ -145,7 +145,12 @@ sub ensure_class_loaded { =head2 ensure_class_found Returns true if the specified class is installed or already loaded, false -otherwise +otherwise. + +Note that the underlying mechanism (Class::Inspector->installed()) used by this +sub will not, at the time of writing, correctly function when @INC includes +coderefs. Since PAR relies upon coderefs in @INC, this function should be +avoided in modules that are likely to be included within a PAR. =cut