文件操作 - cpanp-run-perl
返回文件管理
返回主菜单
删除本文件
文件: /usr/bin/cpanp-run-perl
编辑文件内容
#!/usr/bin/perl eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' if 0; # not running under some shell use strict; BEGIN { my $old = select STDERR; $|++; # turn on autoflush select $old; $|++; # turn on autoflush $0 = shift(@ARGV); # rename the script my $rv = do($0); # execute the file die $@ if $@; # die on parse/execute error } ### XXX 'do' returns last statement evaluated, which may be ### undef as well. So don't die in that case. #die $! if not defined $rv; # die on execute error
修改文件时间
将文件时间修改为当前时间的前一年
删除文件