Can Build.PL be used for Enterprise Perl based application having multiple Perl Modules

StackOverflow https://stackoverflow.com/questions/17715459

  •  03-06-2022
  •  | 
  •  

Frage

If a Perl based Application has Multiple Modules >150 , ALL Custom, and related to solving particular tasks within the application, so is it possible to have Build.PL include all of these Modules, and then be able to Build, test and cover ? I could not find any evidence where Build.PL has been used for Multiple Packages.

How do we declare these Modules in Build.PL ?

Do i have to Build and test All these Modules individually ?

Like all other languages Perl should have a builder that can handle not only building, but also testing, code coverage and deployment.

War es hilfreich?

Lösung

is it possible to have Build.PL include all of these Modules, and then be able to Build, test and cover ?

Yes.

I could not find any evidence where Build.PL has been used for Multiple Packages.

You haven't looked very hard. A third of CPAN does so.

How do we declare these Modules in Build.PL ?

./Build manifest

Do i have to Build and test All these Modules individually ?

No, as a whole.

Perl should have a builder that can handle not only building, but also testing, code coverage and deployment.

There are several.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top