Hi list, I would like to make a library subroutine that maintains the value of some local variables between successive calls. Is there such variable type in Perl ?
As a substitute I've been using "use vars ...". It works, but those variables may be clobbered from any part of a program. Is there a better way ? Thanks