This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ref can return false on references
authorAbigail <abigail@abigail.be>
Mon, 6 Oct 2003 05:55:21 +0000 (22:55 -0700)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 6 Oct 2003 11:49:55 +0000 (11:49 +0000)
Message-ID: <20031006125521.GA26446@ucan.foad.org>

p4raw-id: //depot/perl@21409

pod/perlfunc.pod

index 80e7f1e..f2e2b97 100644 (file)
@@ -3987,7 +3987,8 @@ C<redo> work.
 
 =item ref
 
-Returns a true value if EXPR is a reference, false otherwise.  If EXPR
+Returns a non-empty string if EXPR is a reference, the empty
+string otherwise. If EXPR
 is not specified, C<$_> will be used.  The value returned depends on the
 type of thing the reference is a reference to.
 Builtin types include: