| 1 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | package Exception::Reporter::Sender; | ||||||||||
| 4 | # ABSTRACT: a thing that sends exception reports | ||||||||||
| 5 | 1 | $Exception::Reporter::Sender::VERSION = '0.014'; | |||||||||
| 6 | #pod =head1 OVERVIEW | ||||||||||
| 7 | #pod | ||||||||||
| 8 | #pod This class exists almost entirely to allow C<isa>-checking. It provides a | ||||||||||
| 9 | #pod C<new> method that returns a blessed, empty object. Passing it any parameters | ||||||||||
| 10 | #pod will cause an exception to be thrown. | ||||||||||
| 11 | #pod | ||||||||||
| 12 | #pod =cut | ||||||||||
| 13 | |||||||||||
| 14 | sub new { | ||||||||||
| 15 | 0 | ▶ | my $class = shift; | ||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | Carp::confess("$class constructor does not take any parameters") if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 18 | |||||||||||
| 19 | 0 | return bless {}, $class; | |||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | 1 | 1; | |||||||||
| 23 | |||||||||||
| 24 | __END__ | ||||||||||