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.
In Section
Seekers of Perl Wisdom
in reply to Variable value is not reflecting