- 论坛徽章:
- 0
|
use IO;
#my $usage = "\cl_voa_html.pl input_text output_test \n";
use warnings;
use strict;
#(@ARGV == 2) || die $usage;
#my ($fn_IN,$fn_OUT) = @ARGV;
#chomp($fn_IN);
#chomp($fn_OUT);
my( $line,@arr);
#chomp($fn_IN);
#chomp($fn_OUT);
open(FILE,"< Voa_dlct_2.txt") || die " failed to open input file";
#open($OUT, "> $fn_OUT") || die " failed to open the dictionary -- $fn_OUT";
while (my $line = <FILE>) {
my $n=1;
$arr[$n] = $line;
$n ++;
}
for (my $i = 0; $i < @arr/ 2 ; $i ++) {
print $arr[$i], $arr[$i+5];
}
你看看有什么问题
回复 11# q1208c
|
|