perl, before executing a function

Posted by hermanningjaldsson on Stack Overflow See other posts from Stack Overflow or by hermanningjaldsson
Published on 2010-04-18T17:22:38Z Indexed on 2010/04/18 17:43 UTC
Read the original article Hit count: 325

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about perl

Related posts about function