NAME
Test::NoSmartComments - Make sure no Smart::Comments escape into the wild
VERSION
version 0.004
SYNOPSIS
use Test::More;
eval "use Test::NoSmartComments";
plan skip_all => 'Test::NoSmartComments required for checking comment IQ'
if $@ ;
no_smart_comments_in;
done_testing;
DESCRIPTION
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!
FUNCTIONS
no_smart_comments_in($file)
Called with a file name, this function scans it for the use of the Smart::Comments module.
no_smart_comments_in_all()
no_smart_comments_in_all() scans the MANIFEST for all matching qr!^lib/.*.pm$! and issues a pass or fail for each.
SEE ALSO
Smart::Comments, Dist::Zilla::Plugin::NoSmartCommentsTests
AUTHOR
Chris Weyl <cweyl@alumni.drew.edu>
COPYRIGHT AND LICENSE
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