DS (2 years old) has decided he likes to eat uncooked pasta and i have a feeling its not good for him!!! Is it????

I will sometimes give him some to play "cooking" while i am trying to cook- i put some uncooked pasta in a saucepan with a smidge of water and he stirs etc and the other night i noticed that he was eating it!!! Then today he got hold of a half a packet of pasta and started eating that too!!

I took it off him, but i was just wondering if anyone knows if it is really bad for him, or if i can let him keep eating it coz he seems to really like it!! (Mind you he also loves raw vegies!! He nibbled on a whole raw zucchinni the other night!!! - IS THAT BAD TOO????)

TIA!!!