in reply to Re^3: Do I have to export all variables and functions from my PM file?
in thread Do I have to export all variables and functions from my PM file?
Yes indeed! An example of having to resort to mind-boggling trickery and deviousness simply to modify the default value of a module parameter! :) While entertaining, and a challenging problem, definitely not an example of good module design.
From On Interfaces and APIs, the most relevant point is probably this simple tip for Perl module designers from TheDamian:
|
|---|