G
Go Perl
#-------------code----------#
open (MAER_FILE, "MAER_output.txt");
while (<MAER_FILE>) {
chomp;
my @maer_array = split(/\t/);
print "$maer_array[-1]\n";
}
#----------------------------#
#-----Output----#
0.843444019245762
0.837942476416068
0.836919185707587
0.836919185707587
0.836919185707587
0.836534486876684
#------------------#
Where as i just need the output as 0.836534486876684 which is the last
number of the third column. Can anyone please guide me here.
Thanks in advance,
GP
open (MAER_FILE, "MAER_output.txt");
while (<MAER_FILE>) {
chomp;
my @maer_array = split(/\t/);
print "$maer_array[-1]\n";
}
#----------------------------#
#-----Output----#
0.843444019245762
0.837942476416068
0.836919185707587
0.836919185707587
0.836919185707587
0.836534486876684
#------------------#
Where as i just need the output as 0.836534486876684 which is the last
number of the third column. Can anyone please guide me here.
Thanks in advance,
GP