Documentation for method next-interesting-index assembled from the following pages:
Class: Backtrace §
From Backtrace
(Backtrace) method next-interesting-index §
Defined as:
method next-interesting-index(Backtrace: Int = 0, :, :, :)
Returns the index of the next interesting frame, once hidden and other settings are taken into account. $named will decide whether to printed only those with a name, $noproto will hide protos, and $setting will hide those are considered setting.
sub zipi ;try zipi;say $!.backtrace.next-interesting-index; # OUTPUT: «2» say $!.backtrace.next-interesting-index( :named ); # OUTPUT: «4»