diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-09 17:39:58 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-09 17:39:58 +0000 |
commit | a86f945c8624e2adaf7e289c8e12e67db120e262 (patch) | |
tree | f3ff2ac74f436b26fa347b78d5a7c2cb63206bd6 /op.h | |
parent | be901a27bf5e503fcfef5ab4e3a07eacacdc988a (diff) | |
download | perl-a86f945c8624e2adaf7e289c8e12e67db120e262.tar.gz |
support binmode(F,":crlf") and use open IN => ":raw", OUT => ":crlf"
semantics; the pragma sets defaults for both open() and qx//
p4raw-id: //depot/perl@5628
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -197,6 +197,12 @@ Deprecated. Use C<GIMME_V> instead. /* Private for OP_THREADSV */ #define OPpDONE_SVREF 64 /* Been through newSVREF once */ +/* Private for OP_OPEN and OP_BACKTICK */ +#define OPpOPEN_IN_RAW 16 /* binmode(F,":raw") on input fh */ +#define OPpOPEN_IN_CRLF 32 /* binmode(F,":crlf") on input fh */ +#define OPpOPEN_OUT_RAW 64 /* binmode(F,":raw") on output fh */ +#define OPpOPEN_OUT_CRLF 128 /* binmode(F,":crlf") on output fh */ + struct op { BASEOP }; |