bcarroll has asked for the wisdom of the Perl Monks concerning the following question:
For example: If I call the built-in open() function, it does it's thing.
I would like to watch for calls to open() and execute my own subroutine at the same time (before or after, but automatically). Is this possible?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tie subroutine to a built-in function call?
by BrowserUk (Patriarch) on Aug 23, 2016 at 17:15 UTC | |
|
Re: Tie subroutine to a built-in function call?
by stevieb (Canon) on Aug 23, 2016 at 17:25 UTC | |
by bcarroll (Pilgrim) on Apr 26, 2017 at 20:22 UTC |