You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code works for perl5.005_03 on Linux (I haven't tested
any other releases on Linux), but fails on every other OS I've tried:
close STDIN;
print glob('*');
On Linux, this prints a list of filenames. On 5.00x_xx/any other OS,
it prints nothing until I comment out the `close STDIN'.
Any ideas?
Peace,
* Kurt Starsinic (Kurt.Starsinic@isinet.com) --------- Technical Specialist *
| `If we knew what it was we were doing, it wouldn't be called |
| research, would it?' -- Albert Einstein |
Institute for Scientific Information http://www.isinet.com/
Many programs on many versions of Unix will fail in bizarre ways, or
even dump code, if you exec them with stdin or stdout closed.
/bin/csh may be one of these.
Migrated from rt.perl.org#1167 (status was 'resolved')
Searchable as RT1167$
The text was updated successfully, but these errors were encountered: