开发者

Perl module dependency management

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜