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
EOF character (0x1A) returned as data when reading text files #7122
Comments
From jeremyd713@hotmail.comCreated by Jeremy@jeremyd-homeAfter upgrading from 5.6.1 to 5.8.3 I noticed that perl now returns the EOF It looks like someone already started thinking about this although I This program demonstrates the bug. open F, "> bug.txt"; open F, "bug.txt"; I had to munge the output a bit since I wasn't sure the 0x1A C:\perlbug>c:\perl-5.6.1-AS635\bin\perl.exe bug.pl C:\perlbug>c:\perl-5.8.3-AS809\bin\perl.exe bug.pl Perl Info
|
From @jkeenanOn Mon Feb 23 10:22:38 2004, weezel wrote:
Is there someone with up-to-date Perl and Windows who could assess the Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @ikegamiOn Mon, May 27, 2013 at 8:55 AM, James E Keenan via RT <
Perl still doesn't treat ^Z specially as of 5.16.2 (and no reason to >perl -e"print qq{abc\n\cZ\ndef\n}" >file >type file >perl -pe1 file >perl -pe1 <file Note that using Ctrl-Z to close STDIN (as you would use Ctrl-D in unix) >perl -pe1 I don't think this is a "feature" we need to implement. While I encountered >type file | perl -pe1 I don't see any reason to implement it other than "some other libraries do" - Eric |
From @jkeenanOn Mon May 27 10:21:08 2013, ikegami@adaelis.com wrote:
I'll take that as a YAGNI ... and I'll take the ticket for the purpose Thanks for looking into this. Jim Keenan |
From @jkeenanOn Mon May 27 16:09:09 2013, jkeenan wrote:
Closing as per schedule. Thank you very much. |
@jkeenan - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#26988 (status was 'resolved')
Searchable as RT26988$
The text was updated successfully, but these errors were encountered: