Ah! Yes of course! I tried out the update you included. That is interesting that it includes the "\n". I fixed the code
chomp($HOSTNAME = `hostname -s`);and it works great now! Tried it on all three servers and it was successful. I'm going now to relay the fix to my coworker. Thanks for your help!
Joe
In reply to Re^2: `hostname -s`
by joeymac
in thread `hostname -s`
by joeymac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |