I wasted the entire internship writing horrible perl code and not learning how to do anything that I would use later. This was early enough in my career that it had a lasting effect on my perception of software development and it took me 3+ years to get back "on track".