http://qs321.pair.com?node_id=302333


in reply to Re: Re: How's your Perl?
in thread How's your Perl?

A static variable in a subroutine context would be created only once and hold its value between invocations. You've created a circular reference in an uninvokable routine. Even if it weren't optimized away, of which I am uncertain, it bears no resemblance to a static variable.