Lines Matching defs:open
1 package open;
4 $open::hint_bits = 0x20000; # HINT_LOCALIZE_HH
63 croak("`use open' needs explicit list of PerlIO layers") unless @args;
65 $^H |= $open::hint_bits;
146 open - perl pragma to set default PerlIO layers for input and output
150 use open IN => ":crlf", OUT => ":bytes";
151 use open OUT => ':utf8';
152 use open IO => ":encoding(iso-8859-7)";
154 use open IO => ':locale';
156 use open ':utf8';
157 use open ':locale';
158 use open ':encoding(iso-8859-7)';
160 use open ':std';
168 The C<open> pragma serves as one of the interfaces to declare default
170 open(), readpipe() (aka qx//) and similar operators found within the
189 use open OUT => ':locale';
190 open(O, ">koi8");
193 open(I, "<koi8");
199 use open ':utf8';
200 use open IO => ':utf8';
204 use open ':locale';
205 use open IO => ':locale';
209 use open ':encoding(iso-8859-7)';
210 use open IO => ':encoding(iso-8859-7)';
219 When open() is given an explicit list of layers they are appended to
239 returned is used as the default encoding for the open pragma.
246 as the default encoding for the open pragma.
252 any found, C<:utf8> is used as the default encoding for the open
260 B<any subsequent file open>, is UTF-8.
291 L<perlfunc/"binmode">, L<perlfunc/"open">, L<perlunicode>, L<PerlIO>,