wzwz123456
October 15th, 2008, 05:15 PM
can any one convert the below perl code to java...
open(AGE, $readf) || die "$readf.\n";
while (my $line = <AGE>)
{
chomp($line);
my @array = split(/\s+/, $line);
my $index = $array[Pindex];
my $value = $array[Kindex];
}
open(AGE, $readf) || die "$readf.\n";
while (my $line = <AGE>)
{
chomp($line);
my @array = split(/\s+/, $line);
my $index = $array[Pindex];
my $value = $array[Kindex];
}