table of contents
Devel::REPL::Plugin::Nopaste(3) | User Contributed Perl Documentation | Devel::REPL::Plugin::Nopaste(3) |
NAME¶
Devel::REPL::Plugin::Nopaste - #nopaste to upload session's input and output
VERSION¶
version 1.003029
COMMANDS¶
This module provides these commands to your Devel::REPL shell:
#nopaste¶
The "#nopaste" sends a transcript of your session to a nopaste site.
#pastetitle¶
The "#pastetitle" command allows you to set the title of the paste on the nopaste site. For example:
"#pastetitle example of some code"
defaults to 'Devel::REPL session'.
CONFIGURATION¶
nopaste_format¶
The format sent to the nopaste server can be adjusted with the "nopaste_format" option. By default, the output of each perl statement is commented out, and the perl statements themselves are not. This can be reversed by setting the "nopaste_format" attribute to "comment_code" like this in your re.pl file:
"$_REPL->nopaste_format( 'comment_code' );"
The default of commenting out the output would be set like this:
"$_REPL->nopaste_format( 'comment_output' );"
These options can be set during a Devel::REPL session, but only affect the future parts of the session, not the past parts.
CONTRIBUTORS¶
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 is also an irc channel available for users of this distribution, at "#devel" on "irc.perl.org" <irc://irc.perl.org/#devel-repl>.
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.
2022-05-29 | perl v5.40.0 |