Sorry, domain name was what I meant yes.
No it wasn't a typo. 'http://www.google.com' is passed in to the script and a 'get' request is made against that URL using LWP. If the get request fails, it then tries a different prefix 'https://www.google.com' or 'http://google.com' for example. I want to split the domain name away from the prefix so I can chop and change the combinations as I please. It may be easier to have just the domain name passed in to the script and then the script can handle ALL of the prefixes itself.
in reply to Re: Unable to split $ARGV variable. Can it be done?
in thread [SOLVED]Unable to split $ARGV variable. Can it be done?
I appreciate all the responses and am currently working through the suggestions to see what I can work with.