... have worms in the bottle. Having "eaten the worm" means you've drained the bottle and literally, ate the worm that was used for "flavoring".