go ahead... be a heretic | |
PerlMonks |
Re^2: (How) Do you document/test your private subroutines?by LanX (Saint) |
on Nov 09, 2018 at 00:47 UTC ( [id://1225472]=note: print w/replies, xml ) | Need Help?? |
> If it's a function/method which you have found useful/necessary, then other people might find it useful/necessary too, so make it part of your public API
The risk is obvious by the fact that it's NOT part of the public API. Occasionally I notice that internal functions might be useful for others, in this case outsourcing them to another module appears to be a better strategy.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|