|Problems? Is your data what you think it is?|
Temporary usage of RAM memoryby thanos1983 (Parson)
|on Apr 10, 2014 at 21:09 UTC||Need Help??|
thanos1983 has asked for the wisdom of the Perl Monks concerning the following question:
I have implemented a short sample code of question for better explanation.
I am trying to use a string storing an integer that I want to increment when ever I would be calling my sub program.
My solution so far is storing the value on a .txt file reading the value and icrementing it on every round. Sample of working code is provided under.
I am wondering if there is a possible solution, to store the value to an allocated memory, that will be not used until I calle it again. I want my subprogram to be able to complete the process and not loose the value from the memory. I was even thinking in worst case scenario to use MySQL database but I want to avoid this solution.
Thank you for your time and effort.