Thanks for the reply. Please don't worry about the syntax and petty things there. That was to explain.
Simply put I want to understand when a function in Perl returns a value, is there a possibility that its encoding gets changed ?
WHat i understand is perl must have an inbuilt charset support .How do we change that ? i remember doing this in C by setting lc-ctype