Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Removing elemets from an array

by Lotus1 (Curate)
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";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010718]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2016-12-08 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (135 votes). Check out past polls.