Test::NoSmartComments - Make sure no Smart::Comments escape into the wild
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.
Chris Weyl <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