> 
> **Possible Duplicate:**  
> 
> [Comparing Two Arrays Using Perl](https://stackoverflow.com/questions/2933347/comparing-two-arrays-using-perl) 
> 
> 
> 

How can I print values which exist in `@array2` but not `@array1`? For example, given:

```
@array1 = qw(1234567 7665456 998889 000909);
@array2 = qw(1234567 5581445 998889 000909);

```

the output should be:

```
5581445 doesn't exist in array1

```