File | /home/tamil/util/marc-moose/lib/MARC/Moose/Field.pm |
Statements Executed | 10 |
Total Time | 0.0002027 seconds |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
0 | 0 | 0 | 0s | 0s | BEGIN | MARC::Moose::Field::
0 | 0 | 0 | 0s | 0s | as_formatted | MARC::Moose::Field::
Line | Stmts. | Exclusive Time | Avg. | Code |
---|---|---|---|---|
1 | package MARC::Moose::Field; | |||
2 | # ABSTRACT: Marc field base object | |||
3 | ||||
4 | 3 | 39µs | 13µs | use namespace::autoclean; # spent 54µs making 1 call to namespace::autoclean::import |
5 | 3 | 112µs | 37µs | use Moose; # spent 5.68ms making 1 call to Moose::Exporter::__ANON__[/usr/local/lib/perl/5.10.0/Moose/Exporter.pm:425] |
6 | ||||
7 | ||||
8 | 1 | 7µs | 7µs | has tag => ( is => 'rw', required => 1, ); # spent 2.20ms making 1 call to Moose::has |
9 | ||||
10 | ||||
11 | sub as_formatted { | |||
12 | my $self = shift; | |||
13 | return $self->tag; | |||
14 | } | |||
15 | ||||
16 | 1 | 16µs | 16µs | __PACKAGE__->meta->make_immutable; # spent 3.19ms making 1 call to Class::MOP::Class::make_immutable
# spent 28µs making 1 call to MARC::Moose::Field::meta |
17 | ||||
18 | 1 | 18µs | 18µs | 1; |
19 | ||||
20 | =head1 SEE ALSO | |||
21 | ||||
22 | =for :list | |||
23 | ||||
24 | * L<MARC::Moose::Field::Control> | |||
25 | * L<MARC::Moose::Field::Std> | |||
26 | 1 | 10µs | 10µs |