diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-09-23 06:16:14 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-09-23 06:21:22 -0700 |
commit | c0fd9d21fa8befdee8616b7b28eccadc9d2d938d (patch) | |
tree | a13706ddabe465488cf379aed711478c0fb958a3 /pod | |
parent | 4cc3976697bb71e4acaa99a5cd69aee0159bbb90 (diff) | |
download | perl-c0fd9d21fa8befdee8616b7b28eccadc9d2d938d.tar.gz |
Document open fh, "<:"
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlfunc.pod | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 84e271ea2f..5d15fe39a3 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -3492,6 +3492,9 @@ opens the UTF8-encoded file containing Unicode characters; see L<perluniintro>. Note that if layers are specified in the three-argument form, then default layers stored in ${^OPEN} (see L<perlvar>; usually set by the B<open> pragma or the switch B<-CioD>) are ignored. +Those layers will also be ignored if you specifying a colon with no name +following it. In that case the default layer for the operating system +(:raw on Unix, :crlf on Windows) is used. Open returns nonzero on success, the undefined value otherwise. If the C<open> involved a pipe, the return value happens to be the pid of |