Skip to main content

在Perl脚本中目录树的移动

技术
Author

cookwhy

Published

June 16, 2008

在Perl脚本中,可以用chdir操作符来改变当前的工作目录,举例如下:

chdir “/etc/” or die “Cannot chdir to /etc: $!”;