"Consarn it!"
"Darn!"
"Aw, heck!"

Yes, another entry into 1920s-1950s "childhood slang." As with most other examples, little more than a euphemistic replacement for slightly stronger verbiage (in this case, obviously fecal in nature).

Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.