Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Learn new words
  • Loading branch information
JJ committed Jun 10, 2019
1 parent 54443e8 commit b9cd6f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Type/Backtrace.pod6
Expand Up @@ -21,7 +21,7 @@ if ($!) {
say $!.backtrace[*-1].perl;
}
This will print the last dataframe in the list, pointing at the line where it's
This will print the last frame in the list, pointing at the line where it's
happened.
=head1 Methods
Expand Down Expand Up @@ -94,7 +94,7 @@ Returns as a list the index of the frames that called the current one.
=for code
sub zipi { { { die "Something bad happened" }() }() };
try zipi;
say $!.backtrace.outer-caller-idx( 4 ); # OUTPUT: «[6]␤»
say $!.backtrace.outer-caller-idx( 4 ); # OUTPUT: «[6]␤»
=head2 method nice
Expand All @@ -109,7 +109,7 @@ set, will stop after the first frame.
sub zipi { { { die "Something bad happened" }() }() };
try zipi;
say $!.backtrace.nice( :oneline ) if $! │
# OUTPUT: « in sub zipi at /tmp/Ik2MevkgP1 line 1␤␤»
# OUTPUT: « in sub zipi at /tmp/... line 1␤␤»
=head2 method full
Expand Down

0 comments on commit b9cd6f4

Please sign in to comment.