Test::NoSmartComments - Make sure no Smart::Comments escape into the wild
This document describes version 0.005 of Test::NoSmartComments - released December 02, 2014 as part of Test-NoSmartComments.
use Test::More; eval "use Test::NoSmartComments"; plan skip_all => 'Test::NoSmartComments required for checking comment IQ' if $@ ; no_smart_comments_in; done_testing;
Smart::Comments are great. However, letting smart comments escape into the wilds of the CPAN is just dumb.
This package provides a simple way to test for smart comments _before_ they get away!
Called with a file name, this function scans it for the use of the Smart::Comments module.
no_smart_comments_in_all() scans the MANIFEST for all matching qr!^lib/.*.pm$! and issues a pass or fail for each.
Like no_smart_comments_in_all(), we scan the MANIFEST for all files matching qr!^lib/.*.t$! and issues a pass or fail for each.
Please see those modules/websites for more information related to this module.
The development version is on github at http://https://github.com/RsrchBoy/Test-NoSmartComments and may be cloned from git://https://github.com/RsrchBoy/Test-NoSmartComments.git
Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/Test-NoSmartComments/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Chris Weyl <email@example.com>
Please note I do not expect to be gittip'ed or flattr'ed for this work, rather it is simply a very pleasant surprise. I largely create and release works like this because I need them or I find it enjoyable; however, don't let that stop you if you feel like it ;)
Douglas Christopher Wilson <firstname.lastname@example.org>
This software is Copyright (c) 2011 by Chris Weyl.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999