in reply to
substitution doesn't work properly?
No one can say for sure unless they see your code, but to me it seems like a classic example of global/local variables.
-imran
Comment on
Re: substitution doesn't work properly?
In Section
Seekers of Perl Wisdom