Quick update: I have checked the permissions for the file, tried to add the print line right after the open statement, still nothing..
open my $ofh,">output" or die "could not open output file $!";
print $ofh "IPI-Uniprot-KEGG Id. conversion table\n";
and finally i have the following simple...