Perl module to determine the executing subroutine


Sub::Current provides a fairly magical function called ROUTINE() which returns a code reference pointing at the currently executing subroutine. It does not make sense to use this inside a special block (such as BEGIN, END, UNITCHECK, CHECK or INIT) or at the top level of a program, so ROUTINE will return undef.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libsub-current-perl