Skip Menu |
Update: The bug tracker service is no longer shutting down.

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

Report information
The Basics
Id: 42681
Status: new
Priority: 0/
Queue: IO-Prompt

Owner: Nobody in particular
Requestors: GDSL [...]

Bug Information
Severity: Important
Broken in: v0.99.4
Fixed in: (no value)

Subject: Fix for " Use of uninitialized value $_ in pattern match (m//)"
Download (untitled) / with headers
text/plain 292b
When pragma "warnings" and "-w" are enabled while calling propmpt() there are warnings like : Use of uninitialized value $_ in pattern match (m//) at .../lib/IO/ line 91. Run attached "" for demonstration of issue. Patch is attached in the file "".
text/x-perl 284b
--- +++ @@ -88,6 +88,7 @@ @data = map { $flags_alias{$_} || $_ } @data; for (my $i = 0 ; $i < @data ; $i++) { local *_ = \($data[$i]); + next unless defined $_; if (ref eq 'HASH') { splice @data, $i + 1, 0, %$_; }
text/x-perl 119b
#!/usr/bin/perl -Tw use strict; use warnings; use IO::Prompt; my $res = prompt( -prompt => "Enter something:");

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to