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::InProcess - debugger-like in-process REPL

SYNOPSIS

    # start the client in a console
    inprocess-repl-client --port 7654 --once

    # somewhere in a running program
    Devel::REPL::Server::Select->run_repl(port => 7654);

DESCRIPTION

This distribution provides a debugger-like REPL session that can be spawned in the middle of a program.

Devel::REPL::Plugin::InProcess synchronized the lexical environment of the REPL with the environemnt where the shell was spawned (which means you will be able to inspect and modify in-scope lexicals).

Devel::REPL::Server::* and Devel::REPL::Client::* allow using the REPL for processes not attached to a console.

AUTHORS

Mattia Barbon <mbarbon@cpan.org>

LICENSE

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