Incidentally, if you want to eat an apple and find a worm in it (and hopefully not half a worm), you can drop it in a bowl of salt water which will kill the worm.
How many a pear which presents a blooming face to the would is rotten at the core, How many an innocent-looking apple, is harboring a worm in the bud,.