while(<DATA>){ print "$1\t$2\t$2\n" if /\t(.+)\t(.+)$/; } __DATA__ a first street 1A b second street 2B c third street 3C d fourth street 4D
In reply to Re: Incorrectly adding a newline character
by Lennotoecom
in thread Incorrectly adding a newline character
by pimperator
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |