Cook together sugar, pumpkin, cornstarch, spice and milk until it forms a soft ball when dropped in cold water, or until mixture reaches 235F on a candy thermometer. Add vanilla, butter and pecans. Beat
until creamy. Pour into a buttered plate and cut into small squares when nearly cool.