Devel:...opaste(3pm)
π Devel::REPL::Plugin::Nopaste π
okay bestie, this is a 3pm page from the User Contributed Perl Documentation, and it's literally the plugin that gives your Devel::REPL shell the power to yeet your whole session onto a nopaste site. we love a glow-up. β¨
β¨ NAME β¨
Devel::REPL::Plugin::Nopaste β #nopaste to upload session's input and output π«Ά
πΈ VERSION πΈ
version 1.003029 β periodt, that's the one we're on.
π COMMANDS π
bestie these are the commands this module hands to your Devel::REPL shell. use them wisely, they're iconic:
π
#nopaste
the #nopaste command sends a whole transcript of your session to a nopaste site. like, everything you typed and everything perl said back. it's giving "screenshot but better." πΈ
π
#pastetitle
the #pastetitle command lets you set the title of the paste on the nopaste site. so you can name your masterpiece. for example:
#pastetitle example of some code
and if you don't set one? it defaults to 'Devel::REPL session'. no cap.
π¦ CONFIGURATION π¦
β¨ nopaste_format
so the format that gets sent to the nopaste server? fully adjustable with the nopaste_format option. here's the tea:
- by default, the output of each perl statement gets commented out, and the perl statements themselves do not get commented out.
- you can reverse that by setting the
nopaste_formatattribute tocomment_code, like this in your re.pl file:
$_REPL->nopaste_format( 'comment_code' );
- and the default (commenting out the output) would be set like this:
$_REPL->nopaste_format( 'comment_output' );
real talk though β these options can be set during a Devel::REPL session, but they only affect the future parts of the session, not the past parts. so no retroactive editing, sorry babe π
π CONTRIBUTORS π
- Andrew Moore β
"<amoore@cpan.org>"π
β SUPPORT β
bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-REPL> (or bug-Devel-REPL@rt.cpan.org <mailto:bug-Devel-REPL@rt.cpan.org>).
there's also an irc channel available for users of this distribution, at "#devel" on "irc.perl.org" <irc://irc.perl.org/#devel-repl>. come hang out, we're fun π«Ά
π AUTHOR π
Shawn M Moore, "<sartak at gmail dot com>"
π COPYRIGHT AND LICENCE π
this software is copyright (c) 2007 by Matt S Trout - mst (at) shadowcatsystems.co.uk (<http://www.shadowcatsystems.co.uk/>).
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
and that's a wrap, bestie π this page was rendered by perl v5.34.0, dated 2022-06-03, and it lives under the Devel:...opaste(3pm) header in the User Contributed Perl Documentation. go forth and nopaste responsibly πβ¨
π¦ where this page comes from
- debian bookworm: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms