in reply to
Variable value is not reflecting
Single quotes don't interpolate, you need double quotes. Read
Quote and Quote like Operators
for more info.
Sorry if my advice was wrong.
Comment on
Re: Variable value is not reflecting
In Section
Seekers of Perl Wisdom