开发者

Perl module dependency management

开发者 https://www.devze.com 2023-02-22 02:03 出处:网络
Scripts a.pl, b.pl and c.pl all live on machine x installed with perl v5.10.1 (i.e., just for examples sake). All three scripts use foo;, however they each need a different version of foo.pm:

Scripts a.pl, b.pl and c.pl all live on machine x installed with perl v5.10.1 (i.e., just for examples sake). All three scripts use foo;, however they each need a different version of foo.pm:

a.pl - use foo .7;

b.pl - use foo 1.1;

c.pl - use foo 1.5;

If any of the three scripts does not use the exact version specified it will crash. Using some combination of CPAN modules describe your dependency management system that ensure each script uses the correct foo.pm ver开发者_StackOverflow社区sion. Note, I have kept things simple, but in reality there could be many scripts each with unique version dependencies.


only

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号