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