On Tue, 29 Oct 2013 17:10:51 +0100 Manfred Lotz <manfred.l...@arcor.de> wrote:
> Hi there, > I have some relatively small standalone perl scripts where I would > like to include tests. > > Which is the recommended way to test standalone scripts? > > Put the tests in a directory call "t" under the source. And see `man prove`. `prove` is a Perl tool for testing modules but it can be adapted for scripts. Each test script is given the extension *.t . -- Don't stop where the ink does. Shawn -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/