Hi Experts,
I am looking for some steps to include in my perl script code to do the following:
1) I have name=servername.xyz.abc.coom, I want to exclude the first part of this string i.e servername in a variable. How can i extract from the above string so that i can use it somewhere in my code.
2) I have name=servername , i want to still capture the first part in a variable.
3) I have name=servername.xyz.com, i still want this in a variable.
So basically i need to capture just the first part in a variable and use it.
Any help is highly appreciated.