Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    Devel::Cover::Truth_Table 0.85

    Download button

    No screenshots available
    Downloads: 353  Tell us about an update
    User Rating:
    Rated by:
    Good (3.5/5)
    2 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Michael Carman | More programs
    Perl Artistic License / FREE
    April 7th, 2012, 04:37 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Devel::Cover::Truth_Table description

    Can create and manipulate truth tables for coverage objects

    Devel::Cover::Truth_Table can create and manipulate truth tables for coverage objects.

    SYNOPSIS

    use Devel::Cover::Truth_Table;

    # $a || $b
    my $or_tt = Devel::Cover::Truth_Table->new_primitive('or_3', 0, 1, 1);

    # $c && $d
    my $and_tt = Devel::Cover::Truth_Table->new_primitive('and_3', 1, 0, 1);

    # merge contents of $and_tt into right column of $or_tt, to create
    # $a || ($c && $d)
    $or_tt->right_merge($and_tt);

    # get a (sorted) textual representation
    my @text = $or_tt->sort->text;
    print "$_n" foreach @text;


    __END__
    A B C |exp|hit
    --------------
    0 0 X | 0 |---
    0 1 0 | 0 |---
    0 1 1 | 1 |+++
    1 X X | 1 |+++
    --------------


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    truth tables | coverage objects | Perl module | truth_tables | coverage | objects



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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