open(FD,"info.txt")||die("Can not open the file!$!n"); @line=<FD>; close(FD);
open(IN,"G:/111/mylove.txt"); while($line=<IN>){ print $line; }
perl打开读取文件(open)
原文:https://www.cnblogs.com/YLuluuu/p/9009783.html