| Filename | /home/doy/nytprof/kioku-new/accessor pair_delim (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Devel/PartialDump.pm line 98) |
| Statements | Executed 2 statements in 44µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 27µs | 27µs | Eval::Closure::__ANON__[accessor pair_delim (defined at Devel/PartialDump.pm line 98):10] |
| 0 | 0 | 0 | 0s | 0s | Eval::Closure::__ANON__[accessor pair_delim (defined at Devel/PartialDump.pm line 98):9] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | # spent 27µs within Eval::Closure::__ANON__[accessor pair_delim (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Devel/PartialDump.pm line 98):10] which was called:
# once (27µs+0s) by Eval::Closure::_clean_eval_closure at line 94 of Eval/Closure.pm | ||||
| 2 | my $attr = ${$_[0]}; | ||||
| 3 | my $meta = ${$_[1]}; | ||||
| 4 | my $type_constraint = ${$_[2]}; | ||||
| 5 | my $type_constraint_obj = ${$_[3]}; | ||||
| 6 | #line 1 "accessor pair_delim (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Devel/PartialDump.pm line 98)" | ||||
| 7 | sub { | ||||
| 8 | if (@_ > 1) { | ||||
| 9 | if (!$type_constraint->($_[1])) { | ||||
| 10 | 1 | 25µs | $meta->throw_error("Attribute (pair_delim) does not pass the type constraint because: " . $type_constraint_obj->get_message($_[1]), data => $_[1]); | ||
| 11 | 1 | 19µs | } | ||
| 12 | $_[0]->{"pair_delim"} = $_[1]; | ||||
| 13 | } | ||||
| 14 | return $_[0]->{"pair_delim"}; | ||||
| 15 | } | ||||
| 16 | } | ||||
| 17 | ; |