1 package Devel::REPL::Plugin::Nopaste;
4 use MooseX::AttributeHelpers;
5 use namespace::clean -except => [ 'meta' ];
7 with 'Devel::REPL::Plugin::Turtles';
9 has complete_session => (
10 metaclass => 'String',
15 append => 'add_to_session',
23 # prepend each line with #
26 $self->add_to_session($line . "\n");
34 my @ret = $orig->($self, $line, @_);
36 $self->add_to_session(join("\n", @ret) . "\n\n");
45 return App::Nopaste->nopaste(
46 text => $self->complete_session,
47 desc => "Devel::REPL session",
58 Devel::REPL::Plugin::Nopaste - #nopaste to upload session's input and output
62 Shawn M Moore, C<< <sartak at gmail dot com> >>