This queue is for tickets about the IO-Prompt CPAN distribution.

Report information
The Basics
Id:
39166
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
info [...] maximka.de
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
v0.99.4
Fixed in:
(no value)



Subject: -one_char; waring: Use of uninitialized value
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 413
Hi, if i use a -one_char parameter i get following warning: Use of uninitialized value in print at ../IO/Prompt.pm line 461. here my sampe code: my $ch = prompt( '> ', -one_char, -newline => "::\n"); print qq(execute: '$ch'\n); i'm looking in code and found that a variable $newline defined at line 402 stay uninitialized if -one_char parameter is defined and produce described warning at the line 461. +palik


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.