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::Type 1.0.1

    Download button

    No screenshots available
    Downloads: 75  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Guillaume Aubert | More programs
    Perl Artistic License / FREE
    September 23rd, 2012, 05:38 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Test::Type description

    Functions to validate data types in test files

    Test::Type is a Perl module that provides functions to validate data types in test files.

    SYNOPSIS

     use Test::Type;
     
     # Test strings.
     ok_string( $variable );
     ok_string(
     $variable,
     name => 'My variable',
     );
     
     # Test arrayrefs.
     ok_arrayref( $variable );
     ok_arrayref(
     $variable,
     name => 'My variable',
     );
     
     # Test hashrefs.
     ok_hashref( $variable );
     ok_hashref(
     $variable,
     name => 'Test variable',
     );
     
     # Test coderefs.
     ok_coderef( $variable );
     ok_coderef(
     $variable,
     name => 'Test variable',
     );
     
     # Test numbers.
     ok_number( $variable );
     ok_number(
     $variable,
     name => 'Test variable',
     );
     
     # Test instances.
     ok_instance(
     $variable,
     class => $class,
     );
     ok_instance(
     $variable,
     name => 'Test variable',
     class => $class,
     );



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    datatype validator | Perl module | Perl | datatype | validator

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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