1Devel::REPL::Plugin::NoUpsaesrteC(o3n)tributed Perl DocuDmeevnetla:t:iRoEnPL::Plugin::Nopaste(3)
2
3
4
6 Devel::REPL::Plugin::Nopaste - #nopaste to upload session's input and
7 output
8
10 This module provides these commands to your Devel::REPL shell:
11
12 #nopaste
13 The "#nopaste" sends a transcript of your session to a nopaste site.
14
15 #pastetitle
16 The "#pastetitle" command allows you to set the title of the paste on
17 the nopaste site. For example:
18
19 "#pastetitle example of some code"
20
21 defaults to 'Devel::REPL session'
22
24 nopaste_format
25 The format sent to the nopaste server can be adjusted with the
26 "nopaste_format" option. By default, the output of each perl statement
27 is commented out, and the perl statements themselves are not. This can
28 be reversed by setting the "nopaste_format" attribute to "comment_code"
29 like this in your re.pl file:
30
31 "$_REPL->nopaste_format( 'comment_code' );"
32
33 The default of commenting out the output would be set like this:
34
35 "$_REPL->nopaste_format( 'comment_output' );"
36
37 These options can be set during a Devel::REPL session, but only affect
38 the future parts of the session, not the past parts.
39
41 Shawn M Moore, "<sartak at gmail dot com>"
42
44 Andrew Moore - "<amoore@cpan.org>"
45
46
47
48perl v5.12.1 2010-05-23 Devel::REPL::Plugin::Nopaste(3)