in reply to Re^3: Merging files
in thread Merging files

Thanks again! Now i understand the undef issue. Also thanks for the one-liner, showed me how to use Dumper!!!

Mirod, I agree, it is definitely better to keep track of filehandles and close them when they run of out data!

Learnt a few nice things today :)