Preheat the oven to 180C, fan-forced (see Make it faster). Bring a medium saucepan of salted water to the boil for the pasta and pumpkin. Peel the pumpkin, then cut into 3cm chunks. Coarsely grate the cheese.
Step 2 — Cook pasta and pumpkin
Add the pasta and pumpkin to the pan of boiling water and cook for 9 mins or until the pasta is almost al dente (the pumpkin will be very tender). Reserve 125ml (½ cup) cooking water, then drain the pasta and pumpkin.
Step 3 — Make pasta bake
Return the pasta and pumpkin to the pan. Add the pesto and reserved cooking water and stir until well combined and the pumpkin is mashed. Season with salt and pepper. Transfer to a 1.5L (6 cup) baking dish and scatter with the cheese. Bake for 15 mins or until bubbling and golden.
Step 4 — Make salad
Meanwhile, thinly slice the pear, discarding the core. Coarsely chop the hazelnuts. Combine 2 tsp olive oil and 1 tsp balsamic vinegar in a large bowl and season with salt and pepper. Add the pear, hazelnuts and rocket and toss to combine.
Step 5 — Serve up
Divide the pasta bake and pear rocket salad among plates and enjoy!
Step 6 — Make it faster
Short on time? There's no need to turn the oven on – you can skip the baking. Simply boil the pasta and pumpkin for 10 mins or until al dente, then stir in the pesto and reserved cooking water, and serve scattered with the cheese.