⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 constants.pm

📁 source of perl for linux application,
💻 PM
字号:
package CPANPLUS::Dist::Build::Constants;use strict;use File::Spec;BEGIN {    require Exporter;    use vars    qw[$VERSION @ISA @EXPORT];      $VERSION    = 0.01;    @ISA        = qw[Exporter];    @EXPORT     = qw[ BUILD_DIR BUILD ];}use constant BUILD_DIR      => sub { return @_                                        ? File::Spec->catdir($_[0], '_build')                                        : '_build';                            }; use constant BUILD          => sub { my $file = @_                                        ? File::Spec->catfile($_[0], 'Build')                                        : 'Build';                                                                             ### on VMS, '.com' is appended when                                     ### creating the Build file                                     $file .= '.com' if $^O eq 'VMS';                                                                               return $file;                            };                            1;# Local variables:# c-indentation-style: bsd# c-basic-offset: 4# indent-tabs-mode: nil# End:# vim: expandtab shiftwidth=4:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -