#!/usr/bin/perl -i # bloglet # by Moss Collum # # A tiny utility for updating a weblog-type-thing # If you want one of your own, start out with the bloglet-template.html file. # print "Oh weblogging random, enter your words of wisdom and hit return:\n"; $entry=; $date=`date "+%A %e %B %G,
%r"`; while (<>) { print; chomp; if ($_ eq '') { print < $entry
$date

HTML } }