Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2015-11-27 17:09 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 (731 votes), past polls