Hello, Thanks for the reply. Am late in acknowledging it, was on travel.
Thanks for your above suggestions.
You said that two lines are more efficient than the single substitution.
How can I tell, which part of my code is more efficient than other.
I thought that 1 line would be more efficient than 2 lines, hence I posted this question.
You have any suggestion/reading link for reading on writing efficient code in perl? Thanks.