目录

This should work anyplace File::Spec can split directories, which should be anywhere Perl runs these days.

This may not do much good on Windows: the crazy directory structures common to Windows systems do not seem very amenable to using $FindBin::Bin as the starting point for locating libraries.

Anyone with access to VMS warn me if this works at all – through judicious use of virtual devices should make it useful.

The pod describes using the module in a few situations, any suggestions appreciated. In particular, I toyed with several ways of passing in switches. The one used here was chosen because it supports qw( … ) syntax with optional parameters (e.g., qw(export) and qw(export=foo)).

Installation:

perl Makefile.PL;
make all test install;
perldoc FindBin::libs;

also see the examples for come common use cases.

enjoi

关于

Perl模块,用于查找并加载Perl库文件

193.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号