01 - Preheat the oven to 350°F. Grease a 9x13-inch baking pan thoroughly.
02 - In a large bowl, whisk together flour, sugar, baking soda, and salt until well blended.
03 - Beat in eggs and vanilla extract. Add the entire can of crushed pineapple with juice and stir until just combined. Avoid overmixing.
04 - Gently fold in chopped pecans and shredded coconut until evenly distributed throughout the batter.
05 - Pour batter into the prepared pan, spreading evenly. Bake for 35 to 40 minutes until a toothpick inserted in the center comes out clean.
06 - While cake bakes, combine sugar, butter, and evaporated milk in a saucepan over medium heat. Bring to a gentle boil, stirring constantly. Cook for 3 to 4 minutes until slightly thickened. Remove from heat and stir in vanilla extract.
07 - Immediately after removing cake from the oven, poke holes all over the surface using a fork or skewer. Pour the hot topping evenly over the hot cake.
08 - Allow the cake to cool completely before slicing. Serve at room temperature or warmed, with vanilla ice cream if desired.