From 2d0e7d1fcad776bfaaeaa7049e51eaf521767967 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Mon, 19 Nov 2018 16:28:03 +0000 Subject: [PATCH] perlguts: clarify SV types which are scalars The '< SVt_PVAV' entry looked to one reader like malformed HTML rather than indicating a numerical range. http://nntp.perl.org/group/perl.perl5.porters/252585 --- pod/perlguts.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pod/perlguts.pod b/pod/perlguts.pod index 16bd0ec..5f33bbb 100644 --- a/pod/perlguts.pod +++ b/pod/perlguts.pod @@ -681,12 +681,14 @@ macro and then check the return value. The most useful types that will be returned are: - < SVt_PVAV Scalar SVt_PVAV Array SVt_PVHV Hash SVt_PVCV Code SVt_PVGV Glob (possibly a file handle) +Any numerical value returned which is less than SVt_PVAV will be a scalar +of some form. + See L for more details. =head2 Blessed References and Class Objects -- 1.8.3.1