Three-argument form of open() and I/O disciplines 
Author Message
 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



Sun, 14 Dec 2003 03:04:42 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Three-argument form of open() and I/O disciplines

2. tp7 - installation

3. An SQL problem

4. info-pascal

5. three-part form submission using CGI.pm

6. three-part form submission using CGI.pm

7. open doesn't return child pid under OS/2

8. OS/2 perl and binary open

9. How to exec system commands

10. A Question Of Font

11. SETS in TP7

12. Top Grid Question

 

 
Powered by phpBB® Forum Software