Skip to content

Still receiving error for perllocal.pod #510

@miked63017

Description

@miked63017

Hi, I am still receiving the perllocal.pod error even after your update. I am using version 0.4.42 and the cpan.rb contains:

  ::Dir.glob(File.join(staging_path, prefix, "lib*/perl/*/perllocal.pod")).each do |path|
    @logger.error("Removing useless file.",
                  :path => path.gsub(staging_path, ""))
    File.unlink(path)
  end

I briefly glanced at the code and was wondering if this would be better solved maybe naming it like perllocal.pod.new and then moving it post install? Whatever works would be awesome though. Please let me know if you need any testing, before or after the fact. Thanks.

BTW I changed the logger to error so I can see when it triggers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions