Perl-Sensitive Sunglasses | |
PerlMonks |
Need help in dynamically loading a moduleby Sri Harsha (Initiate) |
on Feb 15, 2012 at 07:58 UTC ( [id://953860]=perlquestion: print w/replies, xml ) | Need Help?? |
Sri Harsha has asked for the wisdom of the Perl Monks concerning the following question: Consider I have two modules mod1.pm & mod2.pm. Based on a condition i would like use a module say,
Issue:Even when the $module is true, it still invokes the "sub test" in mod2.pm:( Am I doing something wrong or this approach is not possible?
Back to
Seekers of Perl Wisdom
|
|