In a small saucepan, combine the butter, sugar, corn syrup and salt. Cook over medium heat, stirring constantly, until the sugar is melted and the mixture becomes thick and syrupy, 2 to 3 minutes. Stir in the pecans, then remove from the heat and stir in the vanilla. Let cool slightly.