in reply to Re: Refactoring: sub within a sub
in thread Refactoring: sub within a sub

The major pitfall is that, if you ever call the outer sub more than once per process, then the inner sub will not be sharing any lexicals defined within the outer sub, hence the "won't stay shared" warning. So be sure to enable warnings.

- tye        

  • Comment on Re^2: Refactoring: sub within a sub (-w)