In perl, can I call a method before executing every function in a package?
- by hermanningjaldsson
I am writing a module and I want a specific piece of code to be executed before each of the functions in it.
How do I do that?
Is there no other way than to just have a function-call at the beginning of every function?