Skip Menu |

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 72011
Status: stalled
Priority: 0/
Queue: Devel-REPL

People
Owner: Nobody in particular
Requestors: chm [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.003012
Fixed in: (no value)



Subject: lightweight Devel::REPL with Mouse
I've implemented an interactive shell for the Perl Data Language
(PDL module) based on Devel::REPL.  The functionality provided by
the Moose framework is nice but getting Moose installed easily
is difficult due to the large number of dependencies.

I just discovered the Mouse modules which appear to have enough
functionality to run Devel::REPL.  If it works, it might be possible
to make Devel::REPL build with either Moose or Mouse which could
make possible a more easily installed (maybe a PAR bundle)
Devel::REPL.

Opening this ticket as a placeholder for this work and for any
other work in making a 1-click install of Devel::REPL possible.
Subject: lightweight Devel::REPL with Moo
On Fri Oct 28 06:54:17 2011, CHM wrote: Show quoted text
> I've implemented an interactive shell for the Perl Data Language > (PDL module) based on Devel::REPL. The functionality provided by > the Moose framework is nice but getting Moose installed easily > is difficult due to the large number of dependencies. > > I just discovered the Mouse modules which appear to have enough > functionality to run Devel::REPL. If it works, it might be possible > to make Devel::REPL build with either Moose or Mouse which could > make possible a more easily installed (maybe a PAR bundle) > Devel::REPL. > > Opening this ticket as a placeholder for this work and for any > other work in making a 1-click install of Devel::REPL possible.
we'd accept a patch to switch to Moo: http://shadow.cat/blog/matt-s-trout/moo-versus-any-moose/
Show quoted text
> > we'd accept a patch to switch to Moo: > http://shadow.cat/blog/matt-s-trout/moo-versus-any-moose/
s/accept/consider accepting/ -- I can't speak for the other maintainers, of course.
I wrote a patch for Moo! https://github.com/tokuhirom/Devel-REPL-1.003014/commits/lite Please review this XD
CC: chm [...] cpan.org
Subject: Re: [rt.cpan.org #72011] lightweight Devel::REPL with Mouse
Date: Fri, 15 Feb 2013 09:22:12 -0500
To: bug-Devel-REPL [...] rt.cpan.org
From: Chris Marshall <devel.chm.01 [...] gmail.com>
A review of Devel::REPL that I made showed almost all functionality in the core REPL does not depend on Moose-only features. Thanks for getting this going---I'm looking forward to trying this out! On Thu, Feb 14, 2013 at 10:41 PM, Tokuhiro Matsuno via RT <bug-Devel-REPL@rt.cpan.org> wrote: Show quoted text
On Thu Feb 14 22:41:07 2013, TOKUHIROM wrote: Show quoted text
> I wrote a patch for Moo! > https://github.com/tokuhirom/Devel-REPL-1.003014/commits/lite > > Please review this XD
I'd make this a role: if (my $pre = $plugin->can('AFTER_PLUGIN')) {, but that may break backcompat. I'dve gone more surgical and made all the plugins "use Moo::Role" instead of making a role subclass, but again, that may break backcompat. *{"${pkg}::setup_commands"} = sub { }; # yet another reason to use roles a couple defaults are removed with no other replacement in ::Script you use Module::Load instead of Module::Runtime in ::Script Also, I'd switch from namespace::sweep to namespace::clean.
I'm marking this as stalled as the patch is not appliable in its current form.