Help for this page

Select Code to Download


  1. or download this
    my @array1 = ...;
    my @array2 = ...;
    ...
    }
    die "Failure" if grep $_, values %hash;
    print "Success";
    
  2. or download this
    my @array1 = ...;
    my @array2 = ...;
    ...
    delete @hash{@array2};
    die "Failure" if %hash;
    print "Success";