
psh.pl - A simple perl shell

psh.pl

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.
A alias for Data::Dumper::Dumper.
for example:
perl> $foo = {'a' => 1}
Result: HASH(0x837c674)
perl> x $foo
$VAR1 = {
'a' => 1
};
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 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. ....
List all variables in package main.

Ye Wenbin <wenbinye@gmail.com>
