摘要: There are some short expressions in Perl that allow you to test files, which is handy if you want to check what a file allows before using it, or if it exists at all. We'll look at a few of the common tests in this section.ExistenceTo see if a file exists before using it, we can use:if (-e " 阅读全文
posted @ 2013-10-23 07:29 zhenxu.liu 阅读(414) 评论(0) 推荐(0) 编辑