A dog named Roxie is recovering from surgery after eating seven corncobs.

The Virginian-Pilot newspaper reports that the purebred boxer had gotten into the trash after a family dinner.

By Tuesday morning, Roxie was sluggish and refused to eat. That’s when her owner took her to the hospital.

Roxy threw-up six of them. An X-ray revealed the seventh after the dog's owner took it to an animal hospital.

The dog's owner almost had the animal euthanized because she couldn't afford the $5,000 surgery bill. A national pet charity, Frankie's Friends, agreed to help and within less than 24 hours raised the money.