Special equipment: a pastry bag fitted with a star tip
1. For the cake: Preheat the oven to 175°C. Lightly coat two 9-inch round cake pans with oil and dust with flour. Whisk together the flour, cocoa, baking soda and salt in a small bowl; set aside.
2. Microwave the chocolate in a small microwave-safe bowl on high power for 45 seconds; remove and stir. Microwave again at high power in 30-second increments, stirring in between, until the chocolate has melted completely; set aside.
3. Beat the granulated sugar, oil and eggs in a large bowl with an electric mixer on medium speed until smooth. Beat in the melted chocolate. Alternate beating in the flour mixture and the milk, adding the flour in three additions and the milk in two, starting and ending with the flour, until just incorporated. Add half the milk, and mix until just incorporated. Repeat with the remaining flour mixture and milk, making sure not to overmix. Divide the batter evenly between the prepared pans.
4. Bake until a toothpick inserted in the center comes out with moist crumbs, 30 to 35 minutes. Let cool in the pans for 10 minutes, run a thin spatula around the edges and then turn the cakes out onto a cooling rack to cool completely. (They will have a sugary "crust" on the top. This is from the melted chocolate and is not a problem. It will soften once the cake is assembled or if the layers are baked the day before.)
5. For the filling: While the cakes cool, spread the pecans on a baking sheet and bake, tossing once, until toasted, 8 to 10 minutes. Finely chop. Whisk together the milk and egg yolks in a medium saucepan until smooth. Add the brown sugar, butter, corn syrup, vanilla and salt, and cook over medium heat, stirring constantly, until the mixture has thickened and coats the back of a spoon, 5 to 6 minutes. (It will be similar to the thickness of custard.) Pour the mixture into a large bowl. (Don't worry if it seems thin. The coconut and nuts will bind it.) Stir in the coconut and pecans; set aside to cool.
6. For the frosting: Put the chocolate in a medium bowl. Heat 1 cup of the cream in a small saucepan over medium heat until steaming but not boiling, and pour over the chocolate. Let stand a few minutes, and then whisk until smooth; let stand at room temperature (or put in the refrigerator if your kitchen is hot) until thick but not set, 20 minutes to 1 hour. Add the remaining 2 tablespoons cream to the chocolate mixture, and beat with an electric mixer on medium speed until lightened in color and fluffy, about 1 minute (do not overbeat, or it will become hard and grainy). The frosting should hold medium peaks and will continue to firm up a bit as it stands. Spoon about 1 cup frosting into a pastry bag fitted with a star tip.
7. To assemble: Put one cake layer right-side up on a serving plate, and top with half the filling. Top with the second cake layer and the remaining filling, spreading it to about 1/2 inch from the edge. Frost the sides, and decorate around the top edge of the cake with the frosting in the pastry bag.
8. Loosely cover the cake with plastic wrap and leave at room temperature overnight. Unwrap and serve.
9. Letting the cake sit overnight makes it more moist, tastier and easier to cut.
Copyright 2014 Television Food Network, G.P. All rights reserved.