New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method call documentation in perlobj.pod #9600
Comments
From @ig3Following brief discussion on PerlMonks $ diff -u /usr/lib/perl5/5.8.8/pod/perlobj.pod ./perlobj.pod |
From @ig3Created by @ig3Following brief discussion on PerlMonks $ diff -u /usr/lib/perl5/5.8.8/pod/perlobj.pod ./perlobj.pod Inline Patch--- /usr/lib/perl5/5.8.8/pod/perlobj.pod 2008-09-18 05:40:09.000000000 +1200
+++ ./perlobj.pod 2008-12-16 17:12:27.000000000 +1300
@@ -312,6 +312,19 @@
scalar variable containing either the method name or a subroutine
reference can also be used.
+If the right side of the arrow is a scalar containing a reference
+to a subroutine then this is equivalent to calling the referenced
+subroutine directly with the class name or object on the left side
+of the arrow as its first argument. No lookup is done and there is +no requirement that the subroutine be defined in any package related Perl Info
|
From @rgsThanks, applied to bleadperl. |
The RT System itself - Status changed from 'new' to 'open' |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#61392 (status was 'resolved')
Searchable as RT61392$
The text was updated successfully, but these errors were encountered: