The pilot light on your gas Whirlpool dryer may go out for a few reasons -- either the gas supply was cut off, or there is a leak or clog in the supply line or a draft in the burner tube. Either way, your dryer will not heat until the pilot light is re-lit. If you don't know why your pilot light has gone out, contact a repair center for a check-up before attempting to re-light it. If there is a leak or a faulty piece of equipment, attempting to light it may be dangerous.
Unplug your dryer and turn the gas valve clockwise to temporarily shut off the gas supply.
Move your dryer out from the wall a few inches, and position it so you have access to the front and both sides.
Locate the screws that hold the front panel in place. You may have to tilt the dryer backward against the wall to access the screws from underneath the unit.
Remove the screws and lift the front panel off. Set the panel and the screws aside.
Look at the bottom of the inside of the dryer. Depending upon your model, your pilot light may be on the right or the left. If you can locate the pulley, the pilot light will be on the opposite side.
Look for a long, narrow metal tube that runs parallel to the floor, from the back of the dryer to the front. This is the burner tube assembly, which houses the pilot light.