in reply to Indent, anonymous sub, or lexical sub for module private code?
Those are usually called helper subs or methods and are very common and useful to structure your code in a better way, improving its readability. Don't be afraid to use them as much as you want!
Lexical subs have the advantage that they do not pollute the namespace, but hey, that's a minor issue. Don't let the presence of the new feature force you to stop doing things the old way. Really, that's a very minor issue, that doesn't create problems in practice.
|
|---|