Hi there,
I'm in need of a little perl programming help.
I've like to add a piece of code to a perl script I have that detects if the text contained within a variable is a subdomain, for example subdomain.domain.ext, then if the condition is true it changes the text into just domain.ext before assigning it back to the variable, else it just leaves the text contained in the variable alone.
Any suggestions how I can go about this?
Thanks