← Index
NYTProf Performance Profile   « line view »
For Makefile.PL
  Run on Sun Mar 1 16:04:44 2015
Reported on Sun Mar 1 16:09:02 2015

FilenameC:/tmp64ng/perl/vendor/lib/Portable/minicpan.pm
StatementsExecuted 30 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1110s0sPortable::minicpan::::BEGIN@3Portable::minicpan::BEGIN@3
1110s0sPortable::minicpan::::BEGIN@4Portable::minicpan::BEGIN@4
1110s0sPortable::minicpan::::BEGIN@5Portable::minicpan::BEGIN@5
1110s0sPortable::minicpan::::BEGIN@6Portable::minicpan::BEGIN@6
1110s0sPortable::minicpan::::newPortable::minicpan::new
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Portable::minicpan;
2
320s10s
# spent 0s within Portable::minicpan::BEGIN@3 which was called: # once (0s+0s) by Portable::new at line 3
use 5.008;
# spent 0s making 1 call to Portable::minicpan::BEGIN@3
420s20s
# spent 0s within Portable::minicpan::BEGIN@4 which was called: # once (0s+0s) by Portable::new at line 4
use strict;
# spent 0s making 1 call to Portable::minicpan::BEGIN@4 # spent 0s making 1 call to strict::import
520s20s
# spent 0s within Portable::minicpan::BEGIN@5 which was called: # once (0s+0s) by Portable::new at line 5
use warnings;
# spent 0s making 1 call to Portable::minicpan::BEGIN@5 # spent 0s making 1 call to warnings::import
620s10s
# spent 0s within Portable::minicpan::BEGIN@6 which was called: # once (0s+0s) by Portable::new at line 6
use Portable::FileSpec;
# spent 0s making 1 call to Portable::minicpan::BEGIN@6
7
810sour $VERSION = '1.22';
9
10#####################################################################
11# Portable Driver API
12
13
# spent 0s within Portable::minicpan::new which was called: # once (0s+0s) by Portable::new at line 170 of Portable.pm
sub new {
1410s my $class = shift;
1510s my $parent = shift;
1610s20s unless ( Portable::_HASH($parent->portable_minicpan) ) {
# spent 0s making 1 call to Portable::_HASH # spent 0s making 1 call to Portable::portable_minicpan
17 die('Missing or invalid minicpan key in portable.perl');
18 }
19
20 # Create the object
2110s my $self = bless { }, $class;
22
23 # Map paths to absolute paths
2410s10s my $minicpan = $parent->portable_minicpan;
# spent 0s making 1 call to Portable::portable_minicpan
2510s10s my $root = $parent->dist_root;
# spent 0s making 1 call to Portable::dist_root
2610s foreach my $key ( qw{ local } ) {
2710s unless (
28 defined $minicpan->{$key}
29 and
30 length $minicpan->{$key}
31 ) {
32 $self->{$key} = $minicpan->{$key};
33 next;
34 }
3510s10s $self->{$key} = Portable::FileSpec::catdir(
# spent 0s making 1 call to Portable::FileSpec::catdir
36 $root, split /\//, $minicpan->{$key}
37 );
38 }
39
40 # Add the literal params
4110s $self->{remote} = $minicpan->{remote};
4210s $self->{quiet} = $minicpan->{quiet};
4310s $self->{force} = $minicpan->{force};
4410s $self->{offline} = $minicpan->{offline};
4510s $self->{also_mirror} = $minicpan->{also_mirror};
4610s $self->{module_filters} = $minicpan->{module_filters};
4710s $self->{path_filters} = $minicpan->{path_filters};
4810s $self->{skip_cleanup} = $minicpan->{skip_cleanup};
4910s $self->{skip_perl} = $minicpan->{skip_perl};
5010s $self->{no_conn_cache} = $minicpan->{no_conn_cache};
51
5210s return $self;
53}
54
5510s1;