Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

devel::repl::plugin::nopaste(3pm) [debian man page]

Devel::REPL::Plugin::Nopaste(3pm)			User Contributed Perl Documentation			 Devel::REPL::Plugin::Nopaste(3pm)

NAME
Devel::REPL::Plugin::Nopaste - #nopaste to upload session's input and output 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. AUTHOR
Shawn M Moore, "<sartak at gmail dot com>" CONTRIBUTORS
Andrew Moore - "<amoore@cpan.org>" perl v5.14.2 2010-05-08 Devel::REPL::Plugin::Nopaste(3pm)

Check Out this Related Man Page

Devel::REPL::Plugin::MultiLine::PPI(3pm)		User Contributed Perl Documentation		  Devel::REPL::Plugin::MultiLine::PPI(3pm)

NAME
Devel::REPL::Plugin::MultiLine::PPI - read lines until all blocks are closed SYNOPSIS
#!/usr/bin/perl use lib './lib'; use Devel::REPL; my $repl = Devel::REPL->new; $repl->load_plugin('LexEnv'); $repl->load_plugin('History'); $repl->load_plugin('MultiLine::PPI'); $repl->run; DESCRIPTION
Plugin that will collect lines until you have no unfinished structures. This lets you write subroutines, "if" statements, loops, etc. more naturally. For example, without a MultiLine plugin, $ my $x = 3; 3 $ if ($x == 3) { will throw a compile error, because that "if" statement is incomplete. With a MultiLine plugin, $ my $x = 3; 3 $ if ($x == 3) { > print "OH NOES!" > } OH NOES 1 you may write the code across multiple lines, such as in "irb" and "python". This module uses PPI. This plugin is named "MultiLine::PPI" because someone else may conceivably implement similar behavior some other less dependency-heavy way. SEE ALSO
"Devel::REPL" AUTHOR
Shawn M Moore, "<sartak at gmail dot com>" COPYRIGHT AND LICENSE
Copyright (C) 2007 by Shawn M Moore This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-05-19 Devel::REPL::Plugin::MultiLine::PPI(3pm)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

getting colored output in perl

Hello, I am scripting in perl and I need to get my output of the "print" statement in color. Please tell me how to go ahead. Radha (2 Replies)
Discussion started by: s123.radha
2 Replies

2. Shell Programming and Scripting

commenting

can we use "---------" for commenting......... (2 Replies)
Discussion started by: simmijaswal
2 Replies

3. Shell Programming and Scripting

how to display the output file in an html format using perl

Hi, I have written a perl script to dispaly some statements from a file but i want the output statements to be dispalyed in an HTML format.Is it possible for me to do in perl scripting? Please help me with ur thoughts. Thanks In Advance Meva. (1 Reply)
Discussion started by: meva
1 Replies

4. Shell Programming and Scripting

Unable to Install "Devel-Profile" perl module in windows.

Hi, I want to install 'Devel-Profile' in windows but i am not able to install. Here is the error. PPM> install Devel-Profile Install package 'Devel-Profile?' (y/N): y Installing package 'Devel-Profile'... Error installing package 'Devel-Profile': Could not locate a PPD file for... (3 Replies)
Discussion started by: vanitham
3 Replies