Differences between current version and previous revision of perlobj(1).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:50:48 pm | by perry | |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:50:48 pm | by perry | Revert |
@@ -303,9 +303,9 @@
subroutine call, being sure to pass the requisite first
argument explicitly:
- $fred = MyCritter::find(
+ $fred = !
MyCritter::find(
Unlike method calls, function calls don't consider inheritance. If you wish merely to specify that Perl should ''START'' looking for a method in a particular package, use an ordinary method call, but qualify the method name with the package like this:
$fred = Critter-