|No such thing as a small change|
gethostbyname: What does $aliases look like?by Skeeve (Parson)
|on Sep 14, 2009 at 06:34 UTC||Need Help??|
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.
Are the names in a string? Space seperated? Komma seperated?
Or wil $aliases be a reference to an array?
Can someone please enlighten me?