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

Download:
Devel-REPL-1.003027.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  17
Stalled  2
View/Report Bugs
Module Version: 1.003027   Source  

NAME ^

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

VERSION ^

version 1.003027

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.

AUTHOR ^

Matt S Trout - mst (at) shadowcatsystems.co.uk (http://www.shadowcatsystems.co.uk/)

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2007 by Matt S Trout - mst (at) shadowcatsystems.co.uk (http://www.shadowcatsystems.co.uk/).

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: