spent half an hour writing some perl code to automate my report writing