CPANPLUS-Shell-Wx
view release on metacpan or search on metacpan
lib/CPANPLUS/Shell/Wx/util.pm view on Meta::CPAN
CPANPLUS::Error::flush();
}
}
#this method retrieves the local directory where CPANPLUS
#stores its information regarding each module
sub _uGetModDir{
my $mod=shift;
}
#TODO this method populates a tree with the given array ref
sub _uPopulateModules($$){
my $tree=shift;
my $aref=shift;
}
#@return the time in readable - mm:ss - format
#@params:
# $begin: the time we are comparing to
#@usage:
# use util qw/_uGetTimed/;
# my $begin=time();
# {... code to be timed ...}
# my $totalTime=_uGetTimed($begin);
sub _uGetTimed($){
my $begin=shift;
mu $end=time();
return sprintf("%2d",(($end-$begin)/60)).":".sprintf("%2d",(($end-$begin) % 60));
}
#the following two structs are used to hold the image data
#for the image lists for the various treectrl's.
# idx is the value from imglist->Add($img)
# icon is the actual icon data
( run in 0.342 second using v1.01-cache-2.11-cpan-65fba6d93b7 )