File: NewlineHack.pm

package info (click to toggle)
libdevel-repl-perl 1.003011-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 408 kB
  • ctags: 252
  • sloc: perl: 3,380; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Original comment:
#
# Adds a newline after print. Some readlines need it some don't. I guess
# we should clarify whether this is a bug and if so whose bug at some point
# but this'll do for now ;)

package Devel::REPL::Plugin::NewlineHack;

use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];

warn <<EOW;
No longer required, extra newline automatically produced for Gnu readline
implementation by Devel::REPL's print() method.

This plugin will be removed at some point; please remove it from your config.
EOW

1;

__END__

=head1 NAME

Devel::REPL::Plugin::NewlineHack - (deprecated)

=cut