in reply to Re^4: Unable to rename the contents of the file using perl?
in thread Unable to rename the contents of the file using perl?

I think you're confusing rename with rewrite.

  • Comment on Re^5: Unable to rename the contents of the file using perl?