[Bast-commits] r7601 - Class-C3-Componentised/trunk/lib/Class/C3

ash at dev.catalyst.perl.org ash at dev.catalyst.perl.org
Tue Sep 8 13:14:00 GMT 2009


Author: ash
Date: 2009-09-08 13:13:59 +0000 (Tue, 08 Sep 2009)
New Revision: 7601

Modified:
   Class-C3-Componentised/trunk/lib/Class/C3/Componentised.pm
Log:
Pod fixes (RT#33975 and RT#43040)


Modified: Class-C3-Componentised/trunk/lib/Class/C3/Componentised.pm
===================================================================
--- Class-C3-Componentised/trunk/lib/Class/C3/Componentised.pm	2009-09-08 08:04:51 UTC (rev 7600)
+++ Class-C3-Componentised/trunk/lib/Class/C3/Componentised.pm	2009-09-08 13:13:59 UTC (rev 7601)
@@ -22,7 +22,7 @@
   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,8 +145,13 @@
 =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
 
 sub ensure_class_found {




More information about the Bast-commits mailing list