-
-
17 Sep 2019 22:26:46 UTC
- Distribution: App-perlsh
- Module version: 0.02
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (267 / 0 / 0)
- Kwalitee
Bus factor: 1- 38.30% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (11.58KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Getopt::Long
- Lexical::Persistence
- List::Util
- Term::ReadLine
- Term::Size
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
App::perlsh
- a simple perl REPL based onLexical::Persistence
SYNOPSIS
use App::perlsh; App::perlsh->run
DESCRIPTION
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.
$ perlsh eval: my $one = 1; '1' eval: my $two = 2; '2' eval: $one + $two '3' eval:
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>
Module Install Instructions
To install App::perlsh, copy and paste the appropriate command in to your terminal.
cpanm App::perlsh
perl -MCPAN -e shell install App::perlsh
For more information on module installation, please visit the detailed CPAN module installation guide.