Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Referencing subroutine in not-yet-loaded moduleby vsespb (Chaplain) |
on Nov 05, 2015 at 10:03 UTC ( [id://1146978]=perlquestion: print w/replies, xml ) | Need Help?? |
vsespb has asked for the wisdom of the Perl Monks concerning the following question:
Is this good practice to write code like this:
or it's a bug, and only possible way to get reference to such subroutine is: I am asking because after 1st example something is broken, and Class::Load::load_class refuses to load NotYetLoadedModule (this differs from require behaviour and thus I filed a bug report)
Back to
Seekers of Perl Wisdom
|
|