Talk with the teacher about reinforcing your daughter's attempts at self-control. If your daughter "explodes" when she makes a mistake, ask the teacher to let her sit in time-out for five minutes or until she is back in control. If your daughter cries, the teacher can explain that she will talk to your daughter when she is calm. The awareness of the other children can also serve as a deterrent to your daughter's poor behavior.
Be sure to provide opportunities for your daughter to attempt new things successfully, both at school and in other settings. At the same time you can model how to handle problems appropriately: If you take her bowling, show her your reaction when you roll a gutter ball; if you are cooking a meal, show her your reaction when you spill something or make a mistake.
If you are concerned that your daughter may need additional help with her perfectionism and self-control issues, your pediatrician can refer you to a therapist in your community.