in reply to Re^3: RFC - Documentation Review
in thread Please review documentation of my AI::Embedding module

You have two subroutines in your module, test & test_embedding, which are not documented in your POD

I've renamed the temporary method from test to _test so the POD tests shouldn't worry about it...

Replies are listed 'Best First'.
Re^5: RFC - Documentation Review
by kcott (Archbishop) on Jun 05, 2023 at 00:45 UTC

    In general, if you don't want to test something, change the test; don't change the code to avoid the test.

    See Test::Pod::Coverage. There's an example using also_private. There's also a link to Pod::Coverage with lots more examples of how to avoid needing to document subroutines.

    — Ken

      In general, if you don't want to test something, change the test; don't change the code to avoid the test.

      Yes that makes sense.
      But in this case, your previous reply made me realise that test is a private * method and should be marked as such. It will also be removed when I have cured the bug which it is there to debug. So will not be in the production release of the module

      * private in the sense than only me and my test code will use it, not private in that it is only called from within the module.