Preheat your oven to 350°F. Grease a 9x13-inch baking pan.
Toast the pecans in a dry skillet over medium heat until fragrant. Set them aside.
In a large bowl, cream the butter and both sugars until fluffy.
Add eggs one at a time, mixing well after each. Stir in vanilla.
In another bowl, whisk together the flour, baking powder, and salt.
Add the dry ingredients to the wet mixture, alternating with milk.
Fold in the toasted pecans.
Pour the batter into the prepared pan and bake for 35–40 minutes.
Let it cool before slicing (if you can wait that long).