sub f { state $myval = myfunc (); ... g(++$myval); } [download]
In reply to Re: Initialization of "local static" (style question) by JavaFan in thread Initialization of "local static" (style question) by rovf