#!/bin/sh -- # A comment mentioning perl, to prevent perl from looping. Indented to work with bash. eval 'if [ "`type perl5 2>&1 | grep -i not.found`" = "" ]; then \ MY_PERL=perl5; export MY_PERL; \ exec perl5 -S -w $0 ${1+"$@"}; \ else \ MY_PERL=perl; export MY_PERL; \ exec perl -S -w $0 ${1+"$@"}; \ fi' if 0; ############################################################################## # For a description, go down to the $Usage statement below, or run # this program with the -help flag. ############################################################################## $Program = 'cobwebs'; $Version = '0.2'; $Copyright = "$Program v$Version Copyright (c) 1997, 2000 Karl J. Runge"; ############################################################################## # Hack to let user force usage with perl4 on Unix... (not completely done). # if ( !defined($ENV{'TRY_PERL4'}) || ! $ENV{'TRY_PERL4'} ) { # Exit if not Perl5. die "\"$Program\" needs perl version 5 or greater." if $] < 5.000; } # Flag to use when trying perl4 compatibility. (not used). $Perl5 = 1; $Perl5 = 0 if $] < 5.000; ############################################################################## # Configuration: # # You can set things here, but most all of the following can be set # via command line switches. # $Is_Sysv = 0; # E.g. 1 for Solaris 0 for BSD/Linux # Cmdline: -sysv $Root_Dir = "."; # Default location of Web site's # HTML source tree. # Cmdline: -root