← All Articles

What a web server can tell you without sending a page

A Perl CGI asks a web server for its headers without downloading the page. What HTTP's HEAD request reveals, and why the reply is a report rather than proof.

· 8 min read

Converting Numbers to Words in Perl

A Perl module for spelling numbers in English, with source code, grouping examples, practical uses, and plans for Indian English and words-to-number conversion.

· 5 min read

Making Unix Web Servers Case-Insensitive

Two Perl scripts for recovering miscapitalized URLs on Unix servers, with a DBM lookup, helpful error messages and the complete original newspaper-site code.

· 10 min read

A Date and Time Package for Perl

A Perl 5 date-formatting package, with working constructor examples, the original source, and practical reuse in the tools I built for newspaper web sites.

· 8 min read

Netscape Acknowledged My Directory Listing Script

Netscape published my Perl CGI for custom directory listings as Tech Note 20021, solving a gap in their server software.

· 4 min read

Building an Ad System for a Newspaper Web Site

The Perl click tracker and ad-rotation scripts I built for Philadelphia Newspapers, with monthly flat-file logs and reusable page templates.

· 5 min read

Reading GIF Dimensions in Perl

A Perl function to read GIF image dimensions and generate correct HTML img tags automatically.

· 3 min read

Splitting Files for Floppy Disks

A Perl script to split large files into floppy-disk-sized pieces for transport across unreliable connections.

· 3 min read