Please do not let your cat have styrofoam. It is toxic for one thing and if he eats it then it can cause a blockage and he will most likely need surgery.

For your cats safety throw away all styrofoam immediately.