01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - Whisk together flour, baking soda, salt, cinnamon, and oats in a medium bowl. Set aside.
03 - Beat softened butter, granulated sugar, and brown sugar in a large bowl until light and fluffy.
04 - Beat in eggs one at a time, then mix in vanilla extract until fully incorporated.
05 - Gradually add dry ingredients to wet mixture, mixing just until combined.
06 - Gently fold diced pear and raisins into the dough until evenly distributed.
07 - Drop tablespoon-sized mounds of dough onto prepared baking sheets, spacing 2 inches apart.
08 - Bake for 12-14 minutes until edges are golden and centers appear set.
09 - Let cookies rest on baking sheets for 5 minutes, then transfer to wire rack to cool completely.