| 1 | package DCOP::Amarok; | ||||||||||||||||||||
| 2 | |||||||||||||||||||||
| 3 | 1 | ▶ | use 5.008001; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | 1 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 5 | 1 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 6 | |||||||||||||||||||||
| 7 | 1 | require DCOP; | |||||||||||||||||||
| 8 | 1 | our @ISA = qw(DCOP); | |||||||||||||||||||
| 9 | |||||||||||||||||||||
| 10 | 1 | our $VERSION = '0.036'; | |||||||||||||||||||
| 11 | |||||||||||||||||||||
| 12 | 1 | ▶ | sub new() { | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.1
Pod
documented
| |||||||||||||||||||||
| 13 | 1 | my $proto = shift; | |||||||||||||||||||
| 14 | 1 | ▶ | my $class = ref($proto) || $proto; | ||||||||||||||||||
|
Condition33%1/3
ref $proto || $proto
MC/DC0%0/2
ref $proto || $proto
ref $proto
$proto
Truth table33%1/3
A || B
A= ref $protoB= $proto
| |||||||||||||||||||||
| 15 | 1 | my %params = @_; | |||||||||||||||||||
| 16 | 1 | my $self = $class->SUPER::new(%params, target => "amarok" ); | |||||||||||||||||||
| 17 | 1 | bless ($self, $class); | |||||||||||||||||||
| 18 | 1 | return $self; | |||||||||||||||||||
| 19 | } | ||||||||||||||||||||
| 20 | |||||||||||||||||||||
| 21 | 1 | 1; | |||||||||||||||||||
| 22 | __END__ | ||||||||||||||||||||