App::perlsh - a simple perl REPL based on Lexical::Persistence
This module implements an application that provides a simple perl REPL ("read-execute-print loop"); that is, an interactive shell-like program that repeatedly reads perl code from input, executes it, and prints the result in a readable manner.
Being based on Lexical::Persistence allows it to accumulate variables along the session, letting the user reuse them in later lines.
eval: my $one = 1;
eval: my $two = 2;
eval: $one + $two
Paul Evans <email@example.com>
To install App::perlsh, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.