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( ... ))[4..9999];


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to