Perl文件读写

前端之家收集整理的这篇文章主要介绍了Perl文件读写前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
[codeSyntax lang="perl"]
#!/usr/bin/perl

open FILE,">","test.log";
select FILE;
print "hello\n";
print "world\n";
close(FILE);
[/codeSyntax]
  • 参考
还不知道Perl语言如何循环吗?

猜你在找的Perl相关文章