当前位置: 技术问答>linux和unix
perl中,怎么读出文件的内容啊?
来源: 互联网 发布时间:2015-06-23
本文导语: 谢谢high-hand了。 | my $outdata; open(IN,"template11.txt")||die("can't open the file IN"); while($outdata = ){ print $outdata; }
谢谢high-hand了。
|
my $outdata;
open(IN,"template11.txt")||die("can't open the file IN");
while($outdata = ){
print $outdata;
}
open(IN,"template11.txt")||die("can't open the file IN");
while($outdata = ){
print $outdata;
}