summaryrefslogtreecommitdiffstats
path: root/lib/Carp/Reply.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Carp/Reply.pm')
-rw-r--r--lib/Carp/Reply.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Carp/Reply.pm b/lib/Carp/Reply.pm
index a086838..d8db2a5 100644
--- a/lib/Carp/Reply.pm
+++ b/lib/Carp/Reply.pm
@@ -108,11 +108,12 @@ Invokes a repl at the current point of execution.
=cut
sub repl {
+ my ($quiet) = @_;
my $repl = Reply->new(
config => Reply::Config->new,
plugins => ['CarpReply']
);
- $repl->step('#bt');
+ $repl->step('#bt') unless $quiet;
$repl->run;
}