#!/usr/bin/perl # # handler: GPM (Gerald's Photo Metadata) handler # # Gerald Oskoboiny, 22 June 2000 # # $Id: handler,v 1.3 2000/06/22 07:53:15 gerald Exp $ # $ruri = $ENV{REQUEST_URI}; if ( $ruri eq $ENV{SCRIPT_NAME} ) { # if called directly, show my source print "Content-Type: text/plain\n\n"; open( SCRIPT, "< $ENV{SCRIPT_FILENAME}" ) or die "couldn't read myself because $!"; while (