The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

psh.pl - A simple perl shell

SYNOPSIS

psh.pl

DESCRIPTION

psh.pl is intended to be a perl shell which is better than `perl -d`. I use this program in emacs, and it works, but not powerful.

Predefined command

x

A alias for Data::Dumper::Dumper. for example:

   perl> $foo = {'a' => 1}
   
   Result: HASH(0x837c674)
   perl> x $foo
   $VAR1 = {
             'a' => 1
           };
help

Intend for replace input `perldoc` in this program. for example:

   perl> help print
       print FILEHANDLE LIST
       print LIST
       print   Prints a string or a list of strings. Returns true if...
   
   perl> help Math::Trig
   NAME
       Math::Trig - trigonometric functions
   
   SYNOPSIS
   ...
reload

Reload a module again. Equal to eval "do($INC{Module.pm}". for example:

   perl> require DBI
   
   Result: 1
   perl> reload "DBI"
   Subroutine DBI::SQL_UDT redefined at /usr/lib/perl5/DBI.pm line 154, <STDIN> line 2.
   ....
symtable

List all variables in package main.

quit

AUTHOR

Ye Wenbin <wenbinye@gmail.com>

SEE ALSO

http://www.emacswiki.org/cgi-bin/emacs/inf-perl.el