projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b20e326
)
Very small tweak to perlobj in dereferencing method call example
author
Dave Rolsky
<autarch@urth.org>
Mon, 18 Feb 2013 01:37:24 +0000
(19:37 -0600)
committer
Dave Rolsky
<autarch@urth.org>
Mon, 18 Feb 2013 01:37:24 +0000
(19:37 -0600)
pod/perlobj.pod
patch
|
blob
|
history
diff --git
a/pod/perlobj.pod
b/pod/perlobj.pod
index
bb0538a
..
448fcfe
100644
(file)
--- a/
pod/perlobj.pod
+++ b/
pod/perlobj.pod
@@
-632,7
+632,7
@@
call. That's a mouthful, so let's look at some code:
$file->${ \'save' };
$file->${ returns_scalar_ref() };
$file->${ \( returns_scalar() ) };
- $file->${ returns_sub_ref() };
+ $file->${ returns_
ref_to_
sub_ref() };
This works if the dereference produces a string I<or> a subroutine
reference.