File Coverage

blib/lib/Devel/REPL/InProcess.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Devel::REPL::InProcess;
2              
3             =head1 NAME
4              
5             Devel::REPL::InProcess - debugger-like in-process REPL
6              
7             =head1 SYNOPSIS
8              
9             # start the client in a console
10             inprocess-repl-client --port 7654 --once
11              
12             # somewhere in a running program
13             Devel::REPL::Server::Select->run_repl(port => 7654);
14              
15             =head1 DESCRIPTION
16              
17             This distribution provides a debugger-like REPL session that can be
18             spawned in the middle of a program.
19              
20             L<Devel::REPL::Plugin::InProcess> synchronized the lexical environment
21             of the REPL with the environemnt where the shell was spawned (which
22             means you will be able to inspect and modify in-scope lexicals).
23              
24             C<Devel::REPL::Server::*> and C<Devel::REPL::Client::*> allow using
25             the REPL for processes not attached to a console.
26              
27             =cut
28              
29 1     1   375 use strict;
  1         2  
  1         22  
30 1     1   3 use warnings;
  1         1  
  1         34  
31              
32             our $VERSION = '0.01';
33              
34             1;
35              
36             =head1 AUTHORS
37              
38             Mattia Barbon <mbarbon@cpan.org>
39              
40             =head1 LICENSE
41              
42             This library is free software; you can redistribute it and/or modify it
43             under the same terms as Perl itself.
44              
45             =cut