So what is it with moths hovering around your porch light at night time anyway? Check out this brief write up on the theory of moth / light attraction in The Straight Dope.
I was particularly impressed with the research techniques of Henry Hsiao, who tied cotton to the tiny legs of some poor little moth, in order to see what it did when subjected to light – all in the name of science!