summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-04-19 01:17:44 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-19 13:15:22 +0000
commit9a869a144b8c08cf3747874fbb8bd8b4e7a0c4ef (patch)
tree1a732c2ee56f71bd6a598fc46b76ba1f0cf3ea5b /pod/perldiag.pod
parent88bf1d0c841cfc277f8a00d92af6a0d37a1625d7 (diff)
downloadperl-9a869a144b8c08cf3747874fbb8bd8b4e7a0c4ef.tar.gz
warn on ref open without perlio
Message-ID: <20020418231744.A24159@rafael> (with one nit, the skip message needed "# " prefix) p4raw-id: //depot/perl@16004
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index f22aa80f75..c10aa0e57b 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -862,6 +862,16 @@ switches, or explicitly, failed for the indicated reason. Usually this
is because you don't have read permission for a file which you named on
the command line.
+=item Can't open a reference
+
+(W io) You tried to open a scalar reference for reading or writing,
+using the 3-arg open() syntax :
+
+ open FH, '>', $ref;
+
+but your version of perl is compiled without perlio, and this form of
+open is not supported.
+
=item Can't open bidirectional pipe
(W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported.