[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Alternative Job-index

From: Dion Rasmussen
Subject: Alternative Job-index
Date: Mon, 29 Sep 2008 11:15:07 +0200


Wouldn't it be straight and awesome to make an alternative index like
this in perl:

open INDEX, ">/path/to/www/index.html" or die "Can't open index $!";
print INDEX "<H1>Job Index</H1>\n";
while (</path/tp/submissions/*>) {
open SUB, "<$_" or die "Can't open submission $!";
my $subsub = <SUB>;
print INDEX "<P>$subsub...</P>\n\n";
close SUB;
close INDEX;

Could be run with cron or as CGI.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]