![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Getting IP with HTTP::Daemonby IndyZ (Friar) |
on Feb 18, 2001 at 01:47 UTC ( #59166=note: print w/replies, xml ) | Need Help?? |
First, write or regex to get the hostname, by itself, out of
$d->url. I will leave this as a skill building excercise for
you. Then, try this:
@addresses will contain a list of IP addresses. I think that this code is verbatim from the Perl Cookbook, I just copied and pasted it out of an old project of mine.
In Section
Seekers of Perl Wisdom
|
|