Lining my pack with a clear plastic bag not only keeps my stuff dry when it rains, it keeps my wet stuff separate from my dry stuff. When my tent is wet, I slide it down in my pack on the outside of my packliner thus keeping it from soaking my other stuff.
If the sun comes out while I’m hiking, I stop, spread everything out, and let it sit in the sun for 20-30 minutes and dry out.