in reply to Can you tell what $$$\@ means?
It's a sub with a prototype. The prototype specifies that the sub takes three scalar parameters and a reference to an array.