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

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

  •  03-06-2022
  •  | 
  •  

문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top