in reply to Re: Re: Search and replace in an array using data in hash
in thread Search and replace in an array using data in hash

No, you don't want to do that. That makes all your substitutions slower, and it's not necessary. Remember that the files were already scanned for IP numbers, so no unknown IP numbers should be present in the file. If some IP numbers don't resolve, just put a value in the hash that's the same as the key.

Abigail

  • Comment on Re: Search and replace in an array using data in hash