| Filename | /usr/local/perls/perl-5.26.1/lib/5.26.1/CPAN/Exception/yaml_not_installed.pm |
| Statements | Executed 8 statements in 30µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 15µs | 15µs | CPAN::Exception::yaml_not_installed::new |
| 3 | 2 | 1 | 12µs | 12µs | CPAN::Exception::yaml_not_installed::as_string |
| 0 | 0 | 0 | 0s | 0s | CPAN::Exception::yaml_not_installed::BEGIN |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | # -*- Mode: cperl; coding: utf-8; cperl-indent-level: 4 -*- | ||||
| 2 | # vim: ts=4 sts=4 sw=4: | ||||
| 3 | package CPAN::Exception::yaml_not_installed; | ||||
| 4 | use strict; | ||||
| 5 | use overload '""' => "as_string"; | ||||
| 6 | |||||
| 7 | use vars qw( | ||||
| 8 | $VERSION | ||||
| 9 | ); | ||||
| 10 | $VERSION = "5.5"; | ||||
| 11 | |||||
| 12 | |||||
| 13 | # spent 15µs within CPAN::Exception::yaml_not_installed::new which was called:
# once (15µs+0s) by CPAN::_yaml_loadfile at line 580 of CPAN.pm | ||||
| 14 | 1 | 2µs | my($class,$module,$file,$during) = @_; | ||
| 15 | 1 | 11µs | bless { module => $module, file => $file, during => $during }, $class; | ||
| 16 | } | ||||
| 17 | |||||
| 18 | # spent 12µs within CPAN::Exception::yaml_not_installed::as_string which was called 3 times, avg 4µs/call:
# 2 times (6µs+0s) by CPAN::FTP::_ftp_statistics at line 57 of CPAN/FTP.pm, avg 3µs/call
# once (6µs+0s) by CPAN::FTP::_ftp_statistics at line 54 of CPAN/FTP.pm | ||||
| 19 | 3 | 1µs | my($self) = shift; | ||
| 20 | 3 | 16µs | "'$self->{module}' not installed, cannot $self->{during} '$self->{file}'\n"; | ||
| 21 | } | ||||
| 22 | |||||
| 23 | 1; |