Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Test::Spelling 0.15

    Download button

    No screenshots available
    Downloads: 409  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.4/5)
    15 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ivan Tubert-Brohman | More programs
    Perl Artistic License / FREE
    December 15th, 2011, 10:08 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Test::Spelling description

    A Perl module that can check for spelling errors in POD files.

    Test::Spelling is a Perl module that can check for spelling errors in POD files.

    SYNOPSIS

    Test::Spelling lets you check the spelling of a POD file, and report its results in standard Test::Simple fashion. This module requires the spell program.

    use Test::More;
    use Test::Spelling;
    plan tests => $num_tests;
    pod_file_spelling_ok( $file, "POD file spelling OK" );


    Module authors can include the following in a t/pod_spell.t file and have Test::Spelling automatically find and check all POD files in a module distribution:

    use Test::More;
    use Test::Spelling;
    all_pod_files_spelling_ok();


    Note, however that it is not really recommended to include this test with a CPAN distribution, or a package that will run in an uncontrolled environment, because there's no way of predicting if spell will be available or the word list used will give the same results (what if it's in a different language, for example?). You can have the test, but don't add it to MANIFEST (or add it to MANIFEST.SKIP to make sure you don't add it by accident). Anyway, your users don't really need to run this test, as it is unlikely that the documentation will acquire typos while in transit. :-)

    You can add your own stopwords (words that should be ignored by the spell check):

    add_stopwords(qw(asdf thiswordiscorrect));

    These stopwords are global for the test. See Pod::Spell for a variety of ways to add per-file stopwords to each .pm file.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    check spelling errors | POD spelling errrors | Perl module | POD | spelling | errors

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM