in reply to Re^3: Recursive search for duplicate filesin thread Recursive search for duplicate files
Since push expects an array, not an array ref, it needs to be dereferenced with the @{ $array_ref } syntax.