in reply to Perl 4 still around?

I work as student programmer for my college. Recently my college redesigned their entire website. The wanted to keep an archived copy of the old website. The webmaster asked me to write a Perl script that would be run on the webserver, search every file, and replace any absolute links with archive URL. I wrote the script on my computer (with Perl 5.8.4 installed at the time) and emailed it to him.

As normal with websites, they were running behind schedule. The administration said the new website had to be up on Monday. It was Sunday, and the webmaster was still working on it. He called me Sunday and said the script I wrote would not work. I knew it would be easier to take a look at it myself, so I walked down to meet him in his office.

He was telnetted into the old webserver, which happened to be a HP-UX server (ironic because of the first reply to this thread). They bought a new webserver for the new website, but it is not much better: Windows Server 2003 (at least it is running Apache rather than IIS though). I tried several things, and I could not get the script to work. Then I thought to type perl -v and found out it was running Perl 4.

I've only been using Perl for about a year. I had never used Perl 4. Luckily you can find anything on the internet. I found complete documentation for Perl 4 here. I read up on it and rewrote the script for him in about two hours.