Re: retrieving info from function

2002-02-07 Thread John W. Krahn
Jesse Ahrens wrote: > > The gethostbyname() function returns 5 variables, the last on addrs is an > array. How do I specify the function to only return that array rather than > the 4 strings and 1 array? (undef,undef,undef,undef,@addrs) = gethostbyname( ... ); # OR @addrs = (gethostbyname( ..

Re: retrieving info from function

2002-02-07 Thread Brett W. McCoy
On Thu, 7 Feb 2002, Jesse Ahrens wrote: > The gethostbyname() function returns 5 variables, the last on addrs is an > array. How do I specify the function to only return that array rather than > the 4 strings and 1 array? gethostbyname() returns a list. You can coerce that list to become an arr

retrieving info from function

2002-02-07 Thread Jesse Ahrens
The gethostbyname() function returns 5 variables, the last on addrs is an array. How do I specify the function to only return that array rather than the 4 strings and 1 array? It's a menage a trois you and me and Heineken... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma