創建或刪除目錄
File::Path module中的:
mkpath(['/foo/bar/baz','blurfl/quux'],1,0711);
rmtree(['foo/bar/baz','blurfl/quux'],1,1);
mkpath(['/foo/bar/baz','blurfl/quux'],1,0711);
rmtree(['foo/bar/baz','blurfl/quux'],1,1);
posted on 2006-08-23 12:50 weidagang2046 閱讀(389) 評論(0) 編輯 收藏 所屬分類: Perl