in reply to getting subroutine names
Hi,
Use the Caller function, we can determine the name of the currently running function.
Regards,
Gopal.R