sub gather {
my ($self) = @_;
+ $self->_log("In gather for perl libdirs");
return transform_exceptions {
my $pipe = $self->_open_locate_libdirs_pipe;
+ $self->_log("Opened locate pipe");
my %libdir;
while (defined( my $line = <$pipe> )) {
chomp $line;
my ($self, $libdir) = @_;
my %module;
my $pipe = $self->_open_locate_pm_pipe($libdir);
+ $self->_log("Opened locate pipe");
while (defined( my $line = <$pipe> )) {
chomp $line;
$self->_log("Got $line from the locate pipe");
sub fetch {
my ($self, $host, $group) = @_;
+ $self->_log("in fetch for $host");
my $spec = $self->introspectors($group);
my (@sudo, @nosudo);
push(@{ $spec->{$_}{sudo} ? \@sudo : \@nosudo}, [$_, $spec->{$_}])