Perl 中的 PathTools 之 File::Spec::Functions 模块详解

File::Spec::Functions - portably perform operations on file names

<b> status: Completed </b>

如下是与本篇相关的文章:

Perl 中的 PathTools 之 Cwd 模块详解
Perl 中的 PathTools 之 File::Spec 模块详解
Perl 中的 PathTools 之 File::Spec::Functions 模块详解

有关Perl的学习、交流与分享,请关注专题:码神之路:Perl篇

简介

这个模块负责输出所有由 File::Spec 模块定义的类方法,以提供一个简单方便的使用方式。

Export 导出的方法有

默认导出的方法有

canonpath
catdir
catfile
curdir
rootdir
updir
no_upwards
file_name_is_absolute
path

以下方法只有在明确请求时才会导出

devnull
tmpdir
splitpath
splitdir
catpath
abs2rel
rel2abs
case_tolerant

想要导出所有的方法或使用标签 :ALL

想要了解这些导出函数的功能请移架Perl 中的 PathTools 之 File::Spec 模块详解

相关文章推荐

如下是与本篇相关的文章:

Perl 中的 PathTools 之 Cwd 模块详解
Perl 中的 PathTools 之 File::Spec 模块详解
Perl 中的 PathTools 之 File::Spec::Functions 模块详解

有关Perl的学习、交流与分享,请关注专题:码神之路:Perl篇

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容