in reply to Indent, anonymous sub, or lexical sub for module private code?
Otherwise, if you really want your function to be private, then use an anonymous sub. If not, the leading underscore convention should be sufficient (you can also use caller to check that the sub is called by only another specific function and no other, but that's seems to be overkill in most cases).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Indent, anonymous sub, or lexical sub for module private code?
by AppleFritter (Vicar) on Aug 01, 2014 at 10:36 UTC |