develooper Front page | perl.perl5.porters | Postings from September 2005

[PATCH] very cosmetic patch for PerlIO test file

Thread Next
From:
Konovalov, Vadim
Date:
September 27, 2005 05:55
Subject:
[PATCH] very cosmetic patch for PerlIO test file
Message ID:
7DD1BE2C50259746ABB8683672D2089E12D96B@itotest-1.spb.lucent.com
given crlf+PerlIO recent discussion, I dare suggesting very cosmetic change
to my few lines of code - comment in a test file is a tiny bit incorrect

--- crlf.t.orig Sat Jun 26 02:17:46 2004
+++ crlf.t      Tue Sep 27 16:49:40 2005
@@ -40,7 +40,7 @@
   open my $fh, "<:crlf", \$fcontents;
   local $/ = "xxx";
   local $_ = <$fh>;
-  my $pos = tell $fh; # pos must be behind "xxx", before "\nyyy\n"
+  my $pos = tell $fh; # pos must be behind "xxx", before "\nxxy\n"
   seek $fh, $pos, 0;
   $/ = "\n";
   $s = <$fh>.<$fh>;

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