一个变量里存的东西像从文件中读出的东西一样。。。
$data="hellonworldnnihao";
open my $fh,"<",$data;
while(<$fh>){
print;
}
close $fh;
【perl】一个变量里存的东西像从文件中读出的东西一样
Leave a reply
一个变量里存的东西像从文件中读出的东西一样。。。
$data="hellonworldnnihao";
open my $fh,"<",$data;
while(<$fh>){
print;
}
close $fh;