I just measured one of my 36" fixtures, it would need about 37.25" of space to include the cord. But, it would probably be fixed to only need about 36.25" if you took the plastic nut off and just taped up the cord.
"What, exactly, is the internet? Basically it is a global network exchanging digitized data in such a way that any computer, anywhere, that is equipped with a device called a 'modem', can make a noise like a duck choking on a kazoo." - Dave Barry