Lartu / katalyn

Scripting language that combines the simplicity of Lua with the power of Perl 🛡️
http://lartu.net/katalyn/
Apache License 2.0
5 stars 1 forks source link

Caller Variable #6

Closed Lartu closed 2 months ago

Lartu commented 2 months ago

Sometimes I might want to know what function called the function I'm currently in. I might also want to know the name of the current function as well. I was thinking that having $_caller and $_function variables could give the user this information.