Carp-REPL

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.13    Tue Aug 12 06:50:18 2008
        perl -MCarp::REPL=test t/foo.t give you a REPL on each failing test!
        Fix longstanding "not nested deeply enough" bug
            Caused by not skipping over "eval" frames, which PadWalker does
        Move a lot of code into a new dist, Devel::StackTrace::WithLexicals
        Remove excess newlines in :l code listings
        :top and :bottom stack traversal commands

0.12    Fri May 16 11:17:55 2008
        :l(ist) command for printing source code
        Rename Devel::REPL::Plugin::LexEnvCarp to
            Devel::REPL::Plugin::Carp::REPL
        Allow importing of the 'repl' procedure
        Internal cleanup

0.11    Thu Sep 20 21:43:56 2007
        Devel::REPL configuration is now applied

0.10    Tue Sep 11 20:07:10 2007
        :e command to display the current environment

0.09    Thu Jul 12 12:32:12 2007

META.json  view on Meta::CPAN

      "version" : "2"
   },
   "name" : "Carp-REPL",
   "no_index" : {
      "directory" : [
         "t",
         "inc"
      ],
      "package" : [
         "DB",
         "Devel::REPL::Plugin::Carp::REPL"
      ]
   },
   "prereqs" : {
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {

META.yml  view on Meta::CPAN

meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Carp-REPL
no_index:
  directory:
    - t
    - inc
  package:
    - DB
    - Devel::REPL::Plugin::Carp::REPL
requires:
  Data::Dump::Streamer: '0'
  Devel::LexAlias: '0'
  Devel::REPL: '0'
  Devel::StackTrace::WithLexicals: '0'
  Lexical::Persistence: '0'
  namespace::autoclean: '0'
resources:
  bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Carp-REPL
  repository: https://github.com/bestpractical/carp-repl.git

Makefile.PL  view on Meta::CPAN

    NAME                => 'Carp::REPL',
    VERSION_FROM        => 'lib/Carp/REPL.pm',
    ABSTRACT_FROM       => 'lib/Carp/REPL.pm',
    AUTHOR              => 'Shawn M Moore, <sartak at gmail.com>',
    LICENSE             => 'perl_5',

    META_MERGE => {
        'meta-spec' => { version => 2 },
        dynamic_config => 0,
        no_index => {
            package   => [ 'DB', 'Devel::REPL::Plugin::Carp::REPL' ],
        },
        resources => {
            repository => {
                # I actually released from https://github.com/karenetheridge/Carp-REPL,
                # so use that for the most recent version of the code if BP isn't updated.
                url => 'https://github.com/bestpractical/carp-repl.git',
                web => 'https://github.com/bestpractical/carp-repl',
                type => 'git',
            },
            bugtracker => {

lib/Devel/REPL/Plugin/Carp/REPL.pm  view on Meta::CPAN

package Devel::REPL::Plugin::Carp::REPL;

our $VERSION = '0.18';

use Devel::REPL::Plugin;
use namespace::autoclean;
use Devel::LexAlias;
use Devel::StackTrace::WithLexicals;
use Data::Dump::Streamer;

sub BEFORE_PLUGIN {
    my $self = shift;
    $self->load_plugin('LexEnv');
}

lib/Devel/REPL/Plugin/Carp/REPL.pm  view on Meta::CPAN

    $line
    CODE
};

1;

__END__

=head1 NAME

Devel::REPL::Plugin::Carp::REPL - Devel::REPL plugin for Carp::REPL

=head1 SYNOPSIS

This sets up the environment captured by L<Carp::REPL>. This plugin
isn't intended for use by anything else. There are plans to move some features
from this into a generic L<Devel::REPL> plugin.

This plugin also adds a few extra commands like :up and :down to move up and
down the stack.

t/00-load.t  view on Meta::CPAN

#!perl -T

use Test::More tests => 3;

BEGIN {
	use_ok( 'Devel::REPL' );
	use_ok( 'Carp::REPL' );
	use_ok( 'Devel::REPL::Plugin::Carp::REPL' );
}


diag("Carp::REPL $Carp::REPL::VERSION");
diag("Devel::REPL $Devel::REPL::VERSION");
diag("Perl $], $^X");



( run in 0.618 second using v1.01-cache-2.11-cpan-4ee56698ea0 )