While installing Test::Kwalitee with CPAN (talk about dependencies ~ 40 on top of a default ActiveState build) I noticed the occasional message along the lines:
# private test only to be run by author
I would like to use this mechanism (for kwalitee.t for example) and just want to know if there is a clever built in mechanism or if I just need to use an environment variable mechanism to trigger skip/ok behaviour. I grepped the cpan build directory and could not seem to turn up the code, and did not pay enough attention to which of the large number of modules that were installed were doing it. I have Googled "private tests perl" and "private test scripts perl" and can find snippets of discussion from Chris Dolan leading to dead links.