Peritoneal computed tomography attenuation values reflect the severity of peritonitis caused by gastrointestinal perforations.