NAME psh - Perl Shell SYNOPSIS A fairly simple read-eval loop. The `-w' flag and '`use strict'' are not employed so that the user is not bound by their stipulations. Setting `$^W = 1' will turn on warnings, and calling '`use strict'' will (almost) do the usual thing if called by the user (see LIMITATIONS, below). DESCRIPTION Each line of input is read and immediately evaluated. Multiline input may be entered by starting with a line like `<) { eval; print $@; }' on page 161 of the Camel Book (2nd Edition). Rich Graves posted a comment to the original psh-0.001 announcement on `http://freshmeat.net', which contained this gem that leverages the Perl debugger: `perl -d -e 1'; FILES `psh' - The Perl Shell executable script. `.pshrc' - The user's Perl Shell `profile'. May be in `$HOME' or the current directory. AUTHOR Gregor N. Purdy, CREDITS The following people made contributions to this project. ReadLine Support Code examples showing how to apply the Term::ReadLine package were contributed by Billy Naylor (in his `pash.pl' program, which is his own Perl shell). Symbol Table Dumping Billy Naylor also had an example of a symbol table printing function that was used as the starting point for the `psh' function `psh::symbols()'. The `psh' version adds the ability to specify a package name, and it also filters out some special variables. The implementation technique is also different from Billy's. Prompt String Variables Matthew D. Allen contributed an enhanced prompt string handling routine that emulates the `bash' prompt variables. This was expanded into the form now present. Typo Spotting Allan Kelly found some problems with the generated documentation. COPYRIGHT Copyright (C) 1999 Gregor N. Purdy. All rights reserved. This script is free software. It may be copied or modified according to the same terms as Perl itself.