NAME
PLSH - Perl Shell
SYNOPSIS
plsh [options] [args]
DESCRIPTION
Creates an interactive Perl shell.
OPTIONS
-E Exit after -e commands complete.
--exit
-e Valid Perl to execute. Multiple valid Perl
--execute statements (semicolon-separated) and multiple
-e allowed.
-I dir Specify directory to prepend @INC. Multiple
--Include -I allowed.
-l Require "my" for all variables.
--lexical Requires Lexical::Persistence, fails if not found.
-P package Package to use as namespace. Will:
--package use `package';
before any -e arguments.
-p prompt Prompt for the shell.
--prompt
-s file Session command log file.
--session
--help Print Options and Arguments.
--man Print complete man page.
--versions Print Modules, Perl, OS, Program info.
ORDER
Prepend any -I paths to @INC.
Set -P package. If provided, set -e to "use <package>".
Add any additional -e arguments to -e.
If -E, add "exit;" to end of -e.
EXAMPLES
The following two examples accomplish the same thing.
Command Line
plsh.pl -e "print join ' ', @ARGV;" -E hello world
Interactive
C:\> plsh.pl
Perl> print "hello world";
Perl> exit;
SEE ALSO
LICENSE
This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.
AUTHOR
Copyright (c) 2015 Michael Vincent
All rights reserved