This method works for shorts in areas of high humidity or when they need to be dried in a hurry. However, it takes an incandescent bulb, not one of the compact fluorescents bulbs to produce heat.
An improvised clothesline works in motels and campgrounds. Hand wash and hang.