Canned Pasta in a Carry On

Q. I had packed a Chef Boyardee pasta in my carry on and it triggered a search. I didn't mind the search but they ended up taking my pasta. Is it allowed or not, even if it's sealed? In hind thought, I should have opened it right then and there and ate it. :)

A. Canned foodstuffs should be packed in your checked luggage. Actually, if you had carried it in a container that could be opened, inspected and resealed, it might have made it through the screening process. An unopened can should definitely be checked to avoid having it taken from you.