File: NewlineHack.pm

package info (click to toggle)
libdevel-repl-perl 1.002001-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 256 kB
  • ctags: 185
  • sloc: perl: 2,323; makefile: 47
file content (20 lines) | stat: -rw-r--r-- 527 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 Moose::Role;
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;