Hello and welcome!
Please see How do I compute the difference of two arrays in perlfaq4. You can also find this information on the command line via
perldoc -q difference
Also, maybe for a fancier difference, you might want Algorithm::Diff.
In reply to Re: Compare files
by Corion
in thread Compare files
by mahesh.gohil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |