Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Removing elemets from an array

by Lotus1 (Deacon)
on Dec 28, 2012 at 16:43 UTC ( #1010718=note: print w/ replies, xml ) Need Help??

in reply to Removing elemets from an array

#!/usr/bin/perl use warnings; use strict; use List::Compare; my @arca = qw( 625 645 ); my @arcb = qw( 450 625 720 645 ); print "arcb: @arcb\n"; my $lc = List::Compare->new( \@arca, \@arcb); # get the items which appear only in the second list. @arcb = $lc->get_Ronly; print "arcb: @arcb\n";

Comment on Re: Removing elemets from an array
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010718]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2015-11-28 20:33 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (744 votes), past polls