![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
perl
文章平均质量分 81
Doris_xixi
嘻嘻你要慢慢地爬呀~
展开
-
perl学习笔记1
perl学习笔记11.perl语言的输入单行大文件的处理:my $oneline = <$FL> 或 while($line=<H>){ }读取全部(小文件的处理)open (my $in, "path ") or die "open error: $! "; my @lines = <$in> ;读3行以及大文件的特殊处理open (my $in, "path...原创 2018-05-10 11:37:03 · 420 阅读 · 0 评论 -
PERL练习汇总
1.1读入file,将序列变成一行输出。use strict; #报错语句 use warnings; open (FA,"file") or die $!; #打开文件句柄 open (FB,">file1") or die $!; while (<FA>){ chomp; print FB $_; } print FB "\n";2.1读入file,将...原创 2018-07-02 17:33:48 · 3732 阅读 · 1 评论