App-Rad-Plugin-ReadLine
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/App/Rad/Plugin/ReadLine.pm view on Meta::CPAN
$c->register( 'exit', sub {
$App::Rad::Plugin::ReadLine::still_going = 0;
}, "exit the $0 shell" );
$c->unregister_command('shell');# Xhibit forbidden
my $welcome = \&_welcome;
$c->$welcome();
while($still_going) {
(my $cmd, local @ARGV) = split ' ',
_terminal->get_reply(
prompt => _shell_prompt(),
default => $DefaultCommand,
);
if (defined $cmd and $cmd ne '') {
@{$c->argv} = @ARGV;
$c->{'cmd'} = $cmd;
$c->debug('received command: ' . $c->{'cmd'});
$c->debug('received parameters: ' . join (' ', @{$c->argv} ));
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.409 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )