schwern/perl5i — Issue #219: perl5i hides output
Author: dhorne
Created: 2012-02-16 21:03:47+00:00
State: open

Hi

I use Term::ReadPassword::Win32 to read passwords for the Win32 console. Unfortunately, this relies i Win32::Console breaks the STD channel. See

https://rt.cpan.org/Public/Bug/Display.html?id=33513

There is a workaround, provided in the bug. However, when I added perl5i to some code that worked, all output stopped. Consider the following test case:

```perl
use Term::ReadPassword::Win32;

my $password = read_password('Password: ');

close STDIN; open STDIN, '+CONOUT$';
open STDOUT, '>>CONOUT$';

print 'Hello';
```

This prints Hello as expected. However, once I include perl5i (v 2.5.9) it doesn't