I did that with a section of coffee can and a couple of large hose clamps to fix an exhaust pipe back in high school. It worked great and lasted until I had time to replace the section of pipe.