Please visit plshell.sourceforge.net - the SourceForge site includes a new version, more documentation, and supersedes this page.
pl is intended to be an interactive Perl shell with all the capabilities of a normal shell, but accepting commands in Perl code. While still incomplete, pl has some interesting features the Perl debugger (perl -d) and psh does not have.
Particularly, multi-line commands are supported in most cases, for example:
#! sub add { ]}? return $_[0] + $_[1] ]}? } () #!The Perl debugger misbehaves as follows:
main::(-e:1): 0 DB<1> sub add { Missing right curly or square bracket at (eval 4)[/usr/local/lib/perl5/5.8.0/perl5db.pl:17] line 4, at end of line syntax error at (eval 4)[/usr/local/lib/perl5/5.8.0/perl5db.pl:17] line 4, at EOF DB<2>
pl does not have this problem, but current versions of Perl prevent pl from supporting multi-line code in all cases.
Modified Sun Mar 25 08:48:47 2007
generated Sun Mar 25 08:56:33 2007
http://jeff.tk/pl/