XP is just a number | |
PerlMonks |
Catalyst reload, 'use parent' and mro c3 (UPD: NOT Catalyst)by vsespb (Chaplain) |
on Dec 23, 2015 at 18:53 UTC ( [id://1151073]=perlquestion: print w/replies, xml ) | Need Help?? |
vsespb has asked for the wisdom of the Perl Monks concerning the following question: UPD: all true, except the thing which reload modules in dev mode was not Catalyst's but our code, which simply "do $modulefile". I am running Catalyst in dev mode. It's able to reload packages when package's file modified. One of my packages:
If i modify it, catalyst will reload it, and then I see in console:
That means File::Find is now twice in @ISA. Not a big problem until you use MRO C3 With mro C3 it fails with error: "Inconsistent hierarchy during C3 merge of class" I believe these are separate part of this problem:
PoC of problem without catalyst:
Questions are:
Back to
Seekers of Perl Wisdom
|
|