Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-InheritNamespace CPAN distribution.

Report information
The Basics
Id: 50180
Status: new
Priority: 0/
Queue: Devel-InheritNamespace

People
Owner: Nobody in particular
Requestors: frank.wiegand [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.00001
Fixed in: (no value)



Subject: errorneous POD
diff --git a/lib/Devel/InheritNamespace.pm b/lib/Devel/InheritNamespace.pm index e588a85..aa5d4fb 100644 --- a/lib/Devel/InheritNamespace.pm +++ b/lib/Devel/InheritNamespace.pm @@ -174,7 +174,7 @@ Normally you achieve this by manually creating MyApp::Extended:: modules: This is okay for a small number of modules, or if you are only doing this once or twice. But perhaps you have tens of these modules, or maybe you do this -on every new project you create to inherit from a base applicatin set. +on every new project you create to inherit from a base application set. In that case you can use Devel::InheritNamespace. @@ -203,13 +203,13 @@ Extra arguments to pass to Module::Pluggable::Object to search for modules. =back -=head2 C<< $self->all_modules( $main_namespace, @namespaces_to_inherit ); +=head2 C<< $self->all_modules( $main_namespace, @namespaces_to_inherit ) >> Loads modules based on the following heuristics: 1. Search all modules in $main_namespace using Module::Pluggable. 2. Load those modules - 3. Repease searching in namespaces declared in the @namespaces_to_inherit + 3. Repeat searching in namespaces declared in the @namespaces_to_inherit 4. Check if the corresponding module in the $main_namespace exists. (we basically do $class =~ s/^$current_namespace/$main_namespace/) 5. If the module is already loaded, skip and check the module