What is the function of perforin?

What is the function of perforin?