File Coverage

lib/Devel/Trepan/Terminated.pm
Criterion Covered Total %
statement 2 2 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod 0 1 0.0
total 3 4 75.0


line stmt bran cond sub pod time code
1             # Copyright (C) 2012 Rocky Bernstein <rocky@cpan.org>
2             =head1 C<Devel::Trepan::Terminated>
3              
4             Contains the C<at_exit> routine that the debugger uses to issue the
5             C<Debugged program terminated ...> message after the program completes.
6              
7             =cut
8              
9             # rocky: I'm copying what perl5db does here, which I suppose has some
10             # time-honored benefit. That doesn't mean though that I like it. FIXME!
11             package Devel::Trepan::Terminated;
12              
13             sub at_exit {
14 12     12 0 34 $DB::ready = 1;
15             # The below is there to have something to look at in "list" command.
16 12         33 "Debugged program terminated. Use 'q' to quit or 'R' to restart.";
17             }
18              
19             'Just another Perl module';