Help on fixing a vapor lock!!!

Put a wooden close pin on the metal part of the fuel line as close to the carb as possible.old guy told me to.do that on my f350 it never did it again