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.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Test::Version 1.002001

    Download button

    No screenshots available
    Downloads: 416  Tell us about an update
    User Rating:
    Rated by:
    Excellent (5.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ars ex Machina, Corp. | More programs
    Perl Artistic License / FREE
    April 5th, 2012, 06:25 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Test::Version description

    A Perl module that has the role to check for VERSION information in modules.

    Test::Version is a Perl module that has the role to check for VERSION information in modules.

    SYNOPSIS

    use Test::Version;
    plan tests => $num_tests;
    version_ok( $file );

    FUNCTIONS

    version_ok( FILENAME, [EXPECTED, [NAME] ] )
    version_ok requires a filename and returns one of the three values:

    NO_FILE Could not find the file
    NO_VERSION File had no VERSION information
    VERSION_OK VERSION information exists


    version_ok okays a test without an expected result if it finds VERSION information, or if an expected result is specified and it finds that condition. For instance, if you know there is no VERSION information,

    version_ok( $file, NO_VERSION );

    When it fails, version_ok will show error information.

    The optional third argument NAME is the name of the test which version_ok passes through to Test::Builder. Otherwise, it choose a default test name "VERSION test for FILENAME".

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    check version | version information | Perl module | Test::Version | check | version

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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