[Melbourne-pm] n00b question: how to exclude test code from production

Alec Clews alec.clews at gmail.com
Tue May 18 17:23:23 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a Perl script that I want to embed some tests in (Using
Test::More). What is the best practice way to ignore the test code in
production?

Thanks


- -- 
Alec Clews
Personal <alec.clews at gmail.com>			Melbourne, Australia.
Jabber:  alecclews at jabber.org.au		PGPKey ID: 0x9BBBFC7C
Blog  http://alecthegeek.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvzL3sACgkQP+e5j5u7/HxaJgCdGibMLZIouyiBTXpsYOJWDIDg
W1oAoMQVHOsWArig96NaWc5nsskb7GLP
=gev5
-----END PGP SIGNATURE-----


More information about the Melbourne-pm mailing list