diff options
-rw-r--r-- | lib/MooseX/NonMoose.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/MooseX/NonMoose.pm b/lib/MooseX/NonMoose.pm index dd66b92..0fd9282 100644 --- a/lib/MooseX/NonMoose.pm +++ b/lib/MooseX/NonMoose.pm @@ -101,6 +101,11 @@ any class. For globref-based classes in particular, L<MooseX::GlobRef> will also allow Moose to work. For more information, see the C<032-moosex-insideout> and C<033-moosex-globref> tests bundled with this dist. +=item * Modifying your class' C<@ISA> after an intial C<extends> call will potentially +cause problems if any of those new entries in the C<@ISA> override the constructor. +C<MooseX::NonMoose> wraps the nearest C<new()> method at the time C<extends> +is called and will not see any other C<new()> methods in the @ISA hierarchy. + =item * Completely overriding the constructor in a class using C<MooseX::NonMoose> (i.e. using C<sub new { ... }>) currently doesn't work, although using method modifiers on the constructor should work identically to |