summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorRicardo SIGNES <rjbs@cpan.org>2009-01-20 18:21:34 -0500
committerVincent Pit <vince@profvince.com>2009-01-21 16:48:31 +0100
commit797f796a9610b63f252016d76732152c8ff9fb39 (patch)
tree63c43409db45ec372a6118881a0299ad9022b10c /pod/perlfunc.pod
parent8253c7d6f3a6d423dafff6207f708e56413f162d (diff)
downloadperl-797f796a9610b63f252016d76732152c8ff9fb39.tar.gz
remove some indirect method calls, add a caveat
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 4814ac774b..f8d2282d51 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -4675,7 +4675,7 @@ into package C<main>.) Here is a typical code layout:
}
# In the main program
- push @INC, new Foo(...);
+ push @INC, Foo->new(...);
Note that these hooks are also permitted to set the %INC entry
corresponding to the files they have loaded. See L<perlvar/%INC>.