In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/a53d211fc419ac5ad57fec64f3d43f351aea51f3?hp=b20e326738690d94550bd3e3ebce51c234184833>
- Log ----------------------------------------------------------------- commit a53d211fc419ac5ad57fec64f3d43f351aea51f3 Author: Dave Rolsky <[email protected]> Date: Sun Feb 17 19:37:24 2013 -0600 Very small tweak to perlobj in dereferencing method call example ----------------------------------------------------------------------- Summary of changes: pod/perlobj.pod | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pod/perlobj.pod b/pod/perlobj.pod index bb0538a..448fcfe 100644 --- 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. -- Perl5 Master Repository
