Heat the oven to 350°F (175°C). Line an 8-inch square pan with parchment, leaving some hanging over the sides.
Wash the pears. Cut them in half and scoop out the core and seeds with a spoon. Cut off the stem.
Grate the pear halves on the large holes of a box grater. Keep the skin on if your dog digests it well, or peel it for a softer bar.
In a big bowl, beat the egg. Stir in the grated pear and all its juice.
Add the oats and stir until everything is wet.
Let it sit for 10 minutes. The oats soak up the juice and get softer.
Press the mix into the pan in an even layer.
Bake for 30 to 35 minutes, until the top is golden and the center feels firm.
While it's still warm, score it into a 5 × 5 grid.
Cool in the pan, then lift it out by the paper and cut along the lines.