Karen Etheridge > Devel-REPL-1.003025 > Devel::REPL::Plugin::Turtles

Download:
Devel-REPL-1.003025.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  16
Stalled  2
View/Report Bugs
Module Version: 1.003025   Source   Latest Release: Devel-REPL-1.003026

NAME ^

Devel::REPL::Plugin::Turtles - Generic command creation using a read hook

DESCRIPTION ^

By default, this plugin allows calling commands using a read hook to detect a default_command_prefix followed by the command name, say MYCMD as an example. The actual routine to call for the command is constructed by looking for subs named 'command_MYCMD' or 'expr_MYCMD' and executing them.

NOTE

The default_command_prefix is qr/\#/ so care must be taken if other uses for that character are needed (e.g., '#' for the shell escape character in the PDL shell.

syntax highlighting: