Help for this page

Select Code to Download


  1. or download this
    @a=(0,1,0,1,0,0,0,1);
    @b=(0,0,1,1,0,0,0,0);
    
  2. or download this
    @intersection = @difference = ();
    %count = ();
    foreach $element (@a, @b) { $count{$element}++ }
    ...
    {
     print $_."--";
    }