aa.txt") or die $!; print FH "hell">
发布于2026-06-29 阅读(0)
扫一扫,手机访问
!/usr/bin/perl -w use strict; #print "please input a stringn"; #my $line =; #print $line; #wirte a file open(FH, ">aa.txt") or die $!; print FH "hellon";#向文件写入内容 print FH "OKn"; close(FH); #open a file open(FH, "aa.txt") or die $!; my @f = ;#将文件内容读出 print @f; close(FH);
上一篇:Perl中的列表和数组学习笔记
下一篇:perl读写文件代码实例
售后无忧
立即购买>office旗舰店
售后无忧
立即购买>office旗舰店
售后无忧
立即购买>office旗舰店
售后无忧
立即购买>office旗舰店
正版软件
正版软件
正版软件
正版软件
正版软件
1
2
3
7
8