Hello,
We have a fairly simple redirect script a url is entered, and even tho there are directions to not enter the "http://www" sometimes we get it or "http://"... what is the simplest method to extract just the domain name if a "http://www.somedomain_name.com" or "http://somedomain_name.com" is enter so we can extract just the "somedomain_name.com"
May want to have a look at the URI module. Not sure if it is part of any particular package, I think it may be part of the stock RH 9.0 install, so I would have a look in @INC and/or CPAN.
http://danconia.org
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]