| 1 | package CPAN::Index::API::Role::Clonable; | ||
| 2 | |||
| 3 | 3 | our $VERSION = '0.008'; | |
| 4 | |||
| 5 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 3 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | sub clone | ||
| 11 | 0 | ▶ | { |
|
Subroutine
clone: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 12 | 0 | my ($self, %params) = @_; | |
| 13 | 0 | $self->meta->clone_object($self, %params); | |
| 14 | } | ||
| 15 | |||
| 16 | =pod | ||
| 17 | |||
| 18 | =encoding UTF-8 | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | CPAN::Index::Role::Clonable - Clones index file objects | ||
| 23 | |||
| 24 | =head1 PROVIDES | ||
| 25 | |||
| 26 | =head2 clone | ||
| 27 | |||
| 28 | Clones the object. Parameters can be supplied as key/value pairs to override | ||
| 29 | the values of existing attributes. | ||
| 30 | |||
| 31 | =cut | ||
| 32 | |||
| 33 | 3 | 1; | |