Output is monospaced and the find duplicates perl code result is returned correctly