Skeeve has asked for the wisdom of the Perl Monks concerning the following question:
I wrote a small script where I use
and since I don't have any host having more than 2 names (i.e. 1 alias) I don't know what $aliases would look like, had the machine 3 or more names.($name, $aliases, $addrtype, $length, @addrs) = gethostbyname $host;
Are the names in a string? Space seperated? Komma seperated?
Or wil $aliases be a reference to an array?
Can someone please enlighten me?
s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
Back to
Seekers of Perl Wisdom