The Joy of Perl
Wednesday, June 2nd, 2004 12:21 amI may have officially been on holiday since I finished stuffing essays into envelopes on Friday evening, but today felt like the first real day of the holiday (which is not good news, considering that I go back to work on Monday). I suspect that the reason for this festive mood is that I spent several hours of happy Perl hacking.
Of course the reason it took me several hours is that my Perl skills are so minimal. What I was mainly doing was modifying a script I'd written that lets students upload their work to the server. First I made it change the names of uploaded files and not overwrite existing files. This way, when they start using it next semester, I will get file names that are more meaningful than "C:\My Documents\My Essay.doc". I also tidied up the code so that, come the following semester, I would only have to change some variables rather than going through the whole script and editing course-specific information.
Very relaxing.
Of course the reason it took me several hours is that my Perl skills are so minimal. What I was mainly doing was modifying a script I'd written that lets students upload their work to the server. First I made it change the names of uploaded files and not overwrite existing files. This way, when they start using it next semester, I will get file names that are more meaningful than "C:\My Documents\My Essay.doc". I also tidied up the code so that, come the following semester, I would only have to change some variables rather than going through the whole script and editing course-specific information.
Very relaxing.