The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.