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
open bug #1852
Comments
From Norman.Azadian@swisscom.comIf the first characters of an open filename specification are whitespace, #!/usr/bin/perl -w open OUTPUT, " | cat " || die; open OUTPUT, "| cat " || die; exit 0; Running this program yields (for me): print on closed filehandle main::OUTPUT at pt.pl line 7. Here's the output of my 'perl -V': Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Characteristics of this binary (from libperl): NHA |
From @pudgeAt 13.14 +0200 2000.04.18, Norman.Azadian@swisscom.com wrote:
No, it fails just fine, if you check it just fine.
I think you are correct. The Camel says that first whitespace is stripped,
You are saying: open OUTPUT, (" | cat " || die); since " | cat" is always true, you will never die. You did read part of |
Migrated from rt.perl.org#3115 (status was 'resolved')
Searchable as RT3115$
The text was updated successfully, but these errors were encountered: