logoalt Hacker News

hughw • today at 6:03 PM • 8 replies • view on HN

I disagree with the first sentence. In 199x the first people I knew making web pages dropped perl scripts, not C programs, into cgi-bin.


Replies

forinti • today at 8:59 PM

I learnt Perl because I had to make a page with a form that would then be turned into Postscript and printed. My only options were C, which I knew well, and Perl, which I had never seen before. So I got to learning Perl. Doing it in C just seemed like too much work for the task.

nkozyra • today at 6:14 PM

May have pre-dated you by a bit. Perl definitely took foot not long after but the earliest cgi-bin days were dominated by C before people got tired of fighting compilation for web apps.

IIRC the spec itself says it was built for C applications.

mod-perl was a godsend, of course.

icedchai • today at 8:53 PM

Same. My first "web app" was a Perl CGI that saved data to mSQL (not MySQL), probably early 1995.

➕ show 1 reply
minaguib • today at 6:15 PM

Perl's CGI.pm was updated as recently as 5 months ago :)

https://metacpan.org/pod/CGI

rjrjrjrj • today at 7:08 PM

I started using Perl in 1996.

But the very first CGI scripts I wrote were in C, late 95 or early 96. Apache on Slackware Linux.

layer8 • today at 8:26 PM

I still have such Perl scripts deployed, though using FastCGI.

PaulDavisThe1st • today at 7:26 PM

We did the CGI-bin in C thing at amzn in 1994.

user0120397125 • today at 7:28 PM

[dead]