-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a way to get the current function name #1743
Comments
What makes you say this is the wrong value?
Which is to say, when you run the line Which is to say, this is behaving correctly. And If you want a way to get the name of the currently-executing function, then the best bet is to teach |
No info in >6 months. Closing. |
Any chances we can revive this? See #2492
Because it is a good practice to not repeat oneself and I may be looking for a way to automate something like displaying a usage message, etc.
Any chance to teach a variable instead? 😄 |
Note that we already have |
I would suggest to add
%this
as equivalent of$_
for return function/script name.The text was updated successfully, but these errors were encountered: