You can store your variable in a file. Start your program with any "invalid" value of the variable, e.g. undef. Then initialize it only if it's value is "invalid".
$temp = read_from_file(); $temp = 1 unless defined $temp; store_to_file($temp);
In reply to Re: want to create a variable whise value do not get change on recursion
by ccn
in thread want to create a variable whise value do not get change on recursion
by sachin_chat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |