运维网's Archiver
论坛
›
Perl
› perl读取跳过第一行
a616652325
发表于 2015-12-29 10:34:04
perl读取跳过第一行
open READ,"<","G:/project-xiaomai/yourfile.txt";
readline READ; # skip the first line
while (<READ>)
{
print$_;
}
close READ;
页:
[1]
查看完整版本:
perl读取跳过第一行