Skip to content

Makefile.PL is installing modules itself instead of just reporting prerequisites #55

@perlpunk

Description

@perlpunk

I stumbled upon this: https://metacpan.org/release/NHORNE/Geo-Coder-Free-0.36/source/Makefile.PL#L42

system('perl -MCPAN -e \'CPAN::Shell->install("' . join('", "', @needfull) . '")\'');

A Makefile.PL should not mess with the user's system in that way.
Makefile.PL is there for reporting missing prerequisites and writing them to MYMETA.{json,yaml}, so that a CPAN client can install them if needed.
It should not install something on its own.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions