
Three-argument form of open() and I/O disciplines
Perl v5.6.1 is telling me it doesn't know the open modes '<:raw',
':raw', ':crlf', etc.:
C:/>touch foo.bar
C:/>perl -we 'use strict; open FH, "<:raw", "foo.bar" or die; <FH>;'
Unknown open() mode '<:raw' at -e line 1.
C:/>perl -we 'use strict; open FH, ":raw", "foo.bar" or die; <FH>;'
Unknown open() mode ':raw' at -e line 1.
C:/>perl -we 'use strict; open FH, ":crlf", "foo.bar" or die; <FH>;'
Unknown open() mode ':crlf' at -e line 1.
C:/>perl -v | head -8
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2001, Larry Wall
Binary build 626 provided by ActiveState Tool Corp.
Built 01:31:15 May 2 2001
C:/>
What am I missing? Or doing wrong?
(I've reduced the problem to a simple command-line example, but
it's not working in my real script either.)
--
Jim Monty
Tempe, Arizona USA