Sri Lakshmi was upset on Lord Vishnu for spending more time with Bhoodevi. So she complained to Durvasa and wanted the same colour and beauty of Bhoodevi. When he met Bhoodevi and he was not given due respect. Angered Durvasa cursed Bhoodevi to take the same colour and beauty of Sri Lakshmi. Bhoodevi took penance at this place and found two fish / Makara shaped ear rings. Lord Vishnu who wore the makara earrings to be known as “MakaraNedunKuzhaikathar”. Since Bhoodevi took the form of Lakshmi due to curse of Sage Durvasa, the place is also called as Sri Perai / ThiruPerai.
https://www.google.com/search?q=Nedunkuzhaikathar
https://www.google.com/search?q=Nedunkuzhaikathar