in reply to Read value from file, replace, then write to new file

Hie rycher,

I don't understand why you close the file handles MYFILE and YOURFILE before you actually open them in pleaseGodWork() subroutine. It's good to close the handles in the same subroutine as you open them.

Now you might want to use something like HTML::Parser module in-order to fix the password field in the index.txt file to replace it(In the current version there is no replacement ).


The world is so big for any individual to conquer

  • Comment on Re: Read value from file, replace, then write to new file