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

Re: Check if element in One Array Exist in Other Array

by gopalr (Priest)
on Oct 13, 2005 at 06:18 UTC ( [id://499783]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use List::Compare::Functional qw(is_LsubsetR);
    
    ...
    $result = is_LsubsetR( [ $test2, $source ] );
    
    $result == 1 ? print "\n\$test2 is True" : print "\n\$test2 is False";
    
  2. or download this
    $test1 is False
    $test2 is True
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-23 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found