1
什么是在perl中逐行读取文件的最快方法?什么是逐行读取文件的最快方法?
open(my $fh, '<', 'fit.log') or die;
1. while(<$fh>){
blah, blah, blah
}
2. while(defined(my $line = <$filehandle>)){
blah, blah, blah
}
is #2 the same as #1?????
3. Tie::File
4. Any others?
你为什么想知道? – ysth