in reply to Re^2: update winxp hosts file with new IP address
in thread update winxp hosts file with new IP address

This is what I came up with based on the information provided and the desire to have the user prompted for the updated IP address.

Please let me know if I'm making some serious Perl mistakes or if this looks good. Hints about better coding are always appreciated.

Update: Removed the code here. I hadn't tested it on the intended workstation before posting it and it turned out that it didn't work properly because the laptop image didn't include the Regex module.

Thanks once again for the guidance!

  • Comment on Re^3: update winxp hosts file with new IP address