pretty sure it was in either Young Guns or Young Guns 2. I think it was actually Young Guns 2. No doubt an homage to Coolhand Luke unless I've just Mandela Affected myself. I think the line was also in Major Payne.
Probably the second one then. I've only seen that one once or twice, and the only scene I remember is the lady riding naked on a horse. That was a big moment for 10-year-old me.
Young Frankenstein is one of my all-time favorite movies, but... no. It may have been used in Young Frankenstein, but it is from the 1931 Frankenstein. Young Frankenstein only has the line as a direct and explicit homage to the original film.
I'm not terribly surprised that The Maltese Falcon is towards the bottom. I am surprised that it's below Knute Rockne, All American. That just seems odd.