This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Incomplete implementation of $/ = \number acting like read()
authorTony Cook <tony@develop-help.com>
Fri, 7 Dec 2012 23:23:20 +0000 (10:23 +1100)
committerTony Cook <tony@develop-help.com>
Sat, 8 Dec 2012 22:32:43 +0000 (09:32 +1100)
commitca93b89efc0dce911b48015df02eaeaeb3d52572
treede4944ce5bf0e12d09a82aea2480870792180e27
parent65e57681567f7050a009d3fdaaa9863f369c9449
Incomplete implementation of $/ = \number acting like read()

It's under tested, and incomplete

- readline appears to ignore IN_BYTES, so this code continues to do so.

- currently :utf8 will return invalid utf8, which means this can too,
  if we can be sure of :utf8 returning only valud utf-8 the FIXME can
  be ignored

- VMS is the elephant in the room - the conditional means that the new
  code is completely ignored for reading from files.  If we can detect
  record-oriented files in some way this could change.
sv.c
t/io/utf8.t