Subject: | -one_char; waring: Use of uninitialized value |
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