develooper Front page | perl.perl5.porters | Postings from February 2000

Re: [ID 20000207.003] close for piped open sets $! to the wrong value

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
February 7, 2000 13:16
Subject:
Re: [ID 20000207.003] close for piped open sets $! to the wrong value
Message ID:
200002072115.QAA06923@monk.mps.ohio-state.edu
mjd@plover.com writes:
> Since /bin/false exited with non-zero status, $! should be set to 0.
> However, it is instead set to the empty string.

Do you remember that $! is double-headed?  It has both numeric and
string values...

Ilya

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About