i never extend mine out under the hood on my '91 sub. I don't know how long it is, but, I simply slide the switch on and it lights under my hood quite a bit.
Go to a salvage yard and yank a few off those trucks. If the line isn't long enough, run a hot wire (fused) from the battery to where ever you decide to mount the light.