Perl by Scott Lawrence

Here are a couple of my modest contributions to Perl Programming.

Availability

All the Perl at this site is © Copyright 1992,1993,1994,1995,1996,1997 Scott D. Lawrence, All rights reserved.

Permission is hereby granted to use, copy, and distribute this code in any way provided that the above copyright is included in all copies. No warranty is of suitability for any purpose is provided by the author.

That having been said, if you find a problem in any of this software (or use it and don't find a problem) I would love to hear from you: scott(at)skrb(dot)org

GetArgs

This is a library routine for parsing command arguments and switches (yes, I know there are several of these, but when I originally wrote this none supported all the features I wanted).

The call takes a simple description of the supported options, positional arguments, variables to set with the supplied values, and help text to be provided to the user as part of the usage message. Support is automatic for -usage, --usage, -help, --help, and -?; and for the end of switch arguments marker '--'.

Web Request Tester

wwwreq is a utility for constructing a simple request for a web server, sending it, and displaying the full response. It is intended as a tool for doing some simple discovery of what is supported by a web server.

Symbolic Link manipulations

Shadow

The shadow creates a directory tree that is a shadow of another tree; the directories are real, but the files in them are symbolic links to the originals. It is probably not useful except on unix-style platforms.

This kind of directory is very useful in a variety of software development contexts.

This script uses the getargs argument parser

mkreal (make real)

Complements the 'shadow' script; it converts a symbolic link into a copy of the file to which the link pointed.

relink

Creates or modifies symbolic links; can be used in place of 'ln -s'. This script uses the getargs argument parser