Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
s/fail/die/ so it explodes instead of sleeping in an array
  • Loading branch information
FROGGS committed Aug 26, 2015
1 parent 778b1fb commit fe1d45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Str.pm
Expand Up @@ -617,7 +617,7 @@ my class Str does Stringy { # declared in BOOTSTRAP
if ($n > $max or once $n == -Inf) {
$max = $n;
# After first positive, <= 0 are "ignored" per spec
once fail "Attempt to retrieve before :1st match -- :nth($n)"
once die "Attempt to retrieve before :1st match -- :nth($n)"
if $max < 1;
$n - 1;
}
Expand Down

0 comments on commit fe1d45a

Please sign in to comment.