if (defined(&Fcntl::LOCK_EX))
To get desired behavior: just call the subroutine once before attempting to redefine it.
-Ton
-----
Be bloody, bold, and resolute; laugh to scorn
The power of man...
In reply to Re: How to instrument a "fake" subroutine?
by ton
in thread How to instrument a "fake" subroutine?
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |