|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: `hostname -s`by keszler (Curate) |
| on Nov 28, 2011 at 19:47 UTC ( #940454=note: print w/ replies, xml ) | Need Help?? |
|
$HOSTNAME = `hostname -s`; $HOSTNAME includes "\n". Chomp it. Update: Here's a way to see what's happening:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||