New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incorrect warning: Filehandle STDIN reopened as TESTFILE only for output at t/01_decode_form.t line 123 #6770
Comments
From david.dyck@fluke.comCreated by david.dyck@fluke.comWhen doing a make test in CGI::Minimal from CPAN, Filehandle STDIN reopened as TESTFILE only for output at t/01_decode_form.t line As you can see line 123 doesn't reference STDIN, so this warning seems 122 my Perl Info
|
From @iabynOn Thu, Sep 18, 2003 at 06:11:14PM -0000, David Dyck wrote:
I'm presuming that sometime earlier the test script closed STDIN, which So STDIN is now open agian, but only for writing. In this case, I think it's probably good that Perl is warning you of this -- |
From @rgsDavid Dyck (via RT) wrote:
I see that the test closes STDIN. The next open will reuse the lowest file descriptor available, which The test needs to be fixed, e.g. by adding the appropriate "no warnings" |
From david.dyck@fluke.comOn Thu, 18 Sep 2003 at 22:32 -0000, Rafael Garcia-Suarez <perlbug-followup@...:
Thank you for responding to this. Filehandle STDIN reopened as %s only for output In this case, (where the test script is control), the author I guess that there must be quite a reason for this, but Thanks again, |
From nick.ing-simmons@elixent.comDavid Dyck <david.dyck@fluke.com> writes:
Yes. IMHO don't close STDIN and leave it closed re-open /dev/null or |
@rgs - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#23838 (status was 'resolved')
Searchable as RT23838$
The text was updated successfully, but these errors were encountered: