Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Array::Utils 0.3

    Download button

    No screenshots available
    Downloads: 571  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Sergei A. Fedorov | More programs
    Perl Artistic License / FREE
    July 18th, 2007, 02:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Array::Utils description

    Array::Utils module contains small utils for array manipulation.

    Array::Utils module contains small utils for array manipulation.

    SYNOPSIS

    use Array::Utils qw(:all);

    my @a = qw( a b c d );
    my @b = qw( c d e f );

    # symmetric difference
    my @diff = array_diff(@a, @b);

    # intersection
    my @isect = intersect(@a, @b);

    # unique union
    my @unique = unique(@a, @b);

    # check if arrays contain same members

    if ( !array_diff(@a, @b) ) {
    # do something
    }

    FUNCTIONS

    unique

    Returns an array of unique items in the arguments list.

    intersect

    Returns an intersection of two arrays passed as arguments.

    array_diff

    Return symmetric difference of two arrays passed as arguments

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    array manipulation | array utilities | Perl module | Array::Utils | array | manipulation

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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