I am new to Perl programming and I am stuck with this problem for some time. Can you please help me in solving it?
I have a file with the following format:
>Country1 Aus trali a >Country5 Swi tzer land >Country2 Net herland s
I want to output a file with the following format:
>Country1 Australia >Country5 Switzerland >Country2 Netherlands