in reply to want to create a variable whise value do not get change on recursion

What you are looking for is called a static variable in other languages. The Perl FAQ talks about how to get something similar in How do I create a static variable

  • Comment on Re: want to create a variable whise value do not get change on recursion