3 ms·
Perl was huge in the early web and first dot-com boom, it was used a lot for CGI scripting.
by SoftTalker 3y ago
Perl was huge in the early web and first dot-com boom, it was used a lot for CGI scripting.
- racl101 3y agoI probably didn't learn Perl because PHP superseded it for web stuff.
- alexjplant 3y agoThis. PHP was my first "real" programming language (which is a bit scary now that I think about it since it followed me learning QBasic and VB6) and by the time I was messing with it for web dev circa 2003 CGI scripts were on their way out. I suspect that it had something to do with CPanel/WHM-based shared hosting setups being reticent to deal with something as powerful as CGI and preferring to just run PHP in Safe Mode. I could be wrong though as I was also a technically-ignorant punk that fixed phpBB installer filesystem permission issues by 777'ing everything in my hosting directory :-). Good times...
- mulmen 3y agoHa! Cheers! My first language was VB.net and my first paying gig was porting a VB6 app. But my career really started when I took on Perl and Oracle. Good times indeed.
- mulmen 3y agoYou missed out. Perl is way more than the web. Nobody is grinding up csv files with PHP. But I wired up an Oracle billing system and a MSSQL invoice system in under a month as a junior dev. And it worked. Every library I needed was at my fingertips on CPAN. And just… worked. Connect to Oracle, run SQL, create a CSV, FTP it somewhere. EZPZ.
- mulmen 3y agoI miss CGI internal tooling. It was always fast and just did the thing you want. Now we have bullshit recursive lambdas with nonsense UIs full of harmful whitespace. I started with Perl CGI and have been less productive every year since then.
- rawleyfowler 3y agoSeriously. I feel like 99% of the work I do in Micro-Service/Event-Driven/etc systems could realistically be a few CGI scripts hooked connected to a DB via DBI. It's sort of ironic how people often call Perl "overly complicated" or "confusing" then justify 100+ service clusters using K8's and AWS to serve 1000 users/day. AdventOfCode handles a few million users per day during the weeks it's active, all powered by a few FastCGI scripts, it's still really good technology.