Chris Weyl > Test-NoSmartComments-0.005 > Test::NoSmartComments

Download:
Test-NoSmartComments-0.005.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.005   Source  

NAME ^

Test::NoSmartComments - Make sure no Smart::Comments escape into the wild

VERSION ^

This document describes version 0.005 of Test::NoSmartComments - released December 02, 2014 as part of Test-NoSmartComments.

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.

no_smart_comments_in_tests

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.

SEE ALSO ^

Please see those modules/websites for more information related to this module.

SOURCE ^

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

BUGS ^

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.

AUTHOR ^

Chris Weyl <cweyl@alumni.drew.edu>

I'm a material boy in a material world

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 ;)

Flattr this, gittip me, or indulge my Amazon Wishlist... If you so desire.

CONTRIBUTOR ^

Douglas Christopher Wilson <doug@somethingdoug.com>

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
syntax highlighting: