摘要: 前言: 刚开始学Perl,记录一些我认为不常见(未必)的技巧。 chomp #用于删除字符串结尾的换行符。 #################### #!/usr/bin/perl use strict; use warnings; my $path = `pwd`; # `pwd`使shell输出 阅读全文
posted @ 2020-07-02 17:20 Pent° 阅读(206) 评论(0) 推荐(0) 编辑