run-loop.pl -- A demo of the Repl::Loop module.
This script is a demo of the Repl::Loop functionality. It shows how to instantiate a REPL, add individual commands and complete command libraries to it and run it.
Repl::Loop
You probably want to create a similar script, and add your own command libraries that implement your applications functionality.
To install Repl::Loop, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Repl::Loop
CPAN shell
perl -MCPAN -e shell install Repl::Loop
For more information on module installation, please visit the detailed CPAN module installation guide.