My preference would be bamboo, 2 piece, 7-1/2 foot for a 5wt, a Dickerson, Payne, or Powell maybe? But have an Orvis bamboo Far & Fine thats fun to use.
If limited to a 9 foot 5wt, then graphite Winston IM6s, in the under 43,000 s/n range where Tom Morgan had Loomis make IM6 blanks to Winston's specifications. These felt better than the 2 piece Sage LL Gen IIs that I've had. IMO the 8-1/2 foot 5wt IM6 or the WT is better for drys than a 9 foot.