X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FClass%2FC3%2FComponentised.pm;h=a0b94b55190ce465463faecd04872c764cacb2ef;hb=1030fc6468ed92aaafe768ce2734dbade8886cfe;hp=5358e2856b31cb0a5a4163b125e1ee2304f7dbe9;hpb=64423ba5be907fb0367389e449400dd139fa1a64;p=p5sagit%2FClass-C3-Componentised.git diff --git a/lib/Class/C3/Componentised.pm b/lib/Class/C3/Componentised.pm index 5358e28..a0b94b5 100644 --- a/lib/Class/C3/Componentised.pm +++ b/lib/Class/C3/Componentised.pm @@ -46,7 +46,7 @@ use MRO::Compat; use Carp (); use List::Util (); -our $VERSION = '1.001000'; +our $VERSION = '1.001002'; $VERSION =~ tr/_//d; my $invalid_class = qr/(?: \b:\b | \:{3,} | \:\:$ )/x; @@ -73,7 +73,8 @@ sub load_components { =head2 load_own_components( @comps ) -Similar to L, but assumes every class is C<"$class::$comp">. +Similar to L, but assumes every +class is C<"$class::$comp">. =cut @@ -93,8 +94,8 @@ sub _load_components { =head2 load_optional_components -As L, but will silently ignore any components that cannot be -found. +As L, but will silently ignore any +components that cannot be found. =cut @@ -161,11 +162,6 @@ sub ensure_class_loaded { Returns true if the specified class is installed or already loaded, false 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 { @@ -178,7 +174,7 @@ sub ensure_class_found { =head2 inject_base -Does the actual magic of adjusting @ISA on the target module. +Does the actual magic of adjusting C<@ISA> on the target module. =cut