In Backtrace::Frame§
See primary documentation in context for method subname
method subname(Backtrace::Frame --> Str)
Returns the name of the enclosing subroutine.
my = Backtrace.new;my = [0];say .subname;
See primary documentation in context for method subname
method subname(Backtrace::Frame --> Str)
Returns the name of the enclosing subroutine.
my = Backtrace.new;my = [0];say .subname;