perlsh - a simple perl REPL based on Lexical::Persistence
Lexical::Persistence
$ perlsh eval: 1 + 2 '3' eval:
This script runs an instance of App::perlsh, which provides a simple perl REPL ("read-execute-print loop").
Imports the blib module at startup, which prefers built code in the blib/ directory if such exists. This is useful for commandline testing or experimenting with newly-built perl modules before they are installed.
Paul Evans <leonerd@leonerd.org.uk>
To install App::perlsh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::perlsh
CPAN shell
perl -MCPAN -e shell install App::perlsh
For more information on module installation, please visit the detailed CPAN module installation guide.