in reply to Re^2: problem in output
in thread problem in output

Then how can we modify the code to open each file with diffrent handle.

Not sure that's the right approach. The approach I would take would be:

And any suggestions about the output coming wrong.

I strongly suspect that will be fixed once you process all of the files correctly.

--

See the Copyright notice on my home node.

Perl training courses