in reply to Re: Perl complaining about vars not staying shared
in thread Perl complaining about vars not staying shared

in short, global (named) functions cannot be closures.
On a point of pedantry, named subs are quite capable of being closures. They are just not (usually) as useful as anonymous closures.

Dave.

  • Comment on Re^2: Perl complaining about vars not staying shared