$ cat post/2004-redux:-when-we-were-still-scripting-in-perl.md
2004 Redux: When We Were Still Scripting in Perl
January 5, 2004. Let’s just say the year of our birth as sysadmins was a while ago. Back then, we were still scripting in Perl. We were the glue that held together systems built with Apache, MySQL, and Perl (the LAMP stack). The era of big, monolithic systems had given way to an age where small teams could build and ship products at a rapid pace.
The Tools That Made Us
Back then, our toolboxes weren’t just full; they were overflowing. We had Perl scripts doing everything from automating deployment with cvs and rsh, to running cron jobs that fed our data into PostgreSQL (yes, PostgreSQL) databases. Our infrastructure was a mix of Red Hat Enterprise Linux 3 and Ubuntu, with Xen hypervisors for testing environments. And let’s not forget the glorious world of cron job hell—every five minutes, every hour, at midnight.
A Day in the Life
A typical day involved waking up to a long list of bugs that needed fixing, most often related to our Perl scripts misbehaving due to bad assumptions or edge cases. We’d spend hours debugging with top, ps, and strace—the latter being an absolute lifesaver when you had to figure out what part of your script was eating up all the CPU.
We also spent a lot of time arguing about whether we should use Python for more complex tasks or stick to Perl because it was “good enough.” The truth is, at the end of the day, Python was just starting to gain traction in our circles. We were still entrenched in the world where XML::Parser was state-of-the-art and JSON wasn’t even a thing.
Early Adopters
We were early adopters of Google’s tools—specifically, their hiring process. Back then, I remember thinking that Google must be crazy for paying such high salaries. But as we saw more engineers from our small startups getting job offers that seemed almost too good to be true, we started to see the light. More companies began to recognize that talent was valuable and that paying well was a smart investment.
The Dawn of Web 2.0
It felt like the dawn of the next big thing: Web 2.0. Sites like Digg and Reddit were becoming more popular, and suddenly everyone wanted to build social features into their applications. We started hearing terms like “AJAX” and “RSS,” and it was clear that web development was evolving faster than we could keep up.
A Year of Transition
Looking back, 2004 felt like a year of transition. The old ways were still strong, but the new trends were gaining momentum. We were scripting in Perl, but our minds were already wandering towards Python and Ruby. Xen hypervisors were still cutting-edge for testing, while Apache and MySQL ruled the roost.
Lessons Learned
The biggest lesson we learned that year was resilience. Our scripts were often fragile, and our infrastructure was prone to outages. But we had a knack for quickly patching things up and getting back on track. We also realized the importance of automation—writing tools that would save us time and reduce errors.
Closing Thoughts
As 2004 drew to a close, I reflected on how far we’d come. From scripting in Perl with cron jobs running every five minutes, to the growing realization that Python was going to be a game-changer. The sysadmin role was evolving rapidly, and so were our tools. We were living through history as it happened.
That’s my 2004—when scripting in Perl felt like the future, but we knew better.