in reply to Initialization of "local static" (style question)
sub f { state $myval = myfunc (); ... g(++$myval); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Initialization of "local static" (style question)
by rovf (Priest) on Feb 03, 2009 at 11:21 UTC |