summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-02-12 15:00:42 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-02-12 15:00:42 -0800
commit9b03c0a2763ac65c27fbda052b034db71849f461 (patch)
tree1ee1347c155a770035c6d267e5263937be216784
parent4dcecea45752c0731d7846d1e7c8147f6c96338f (diff)
downloadperl-9b03c0a2763ac65c27fbda052b034db71849f461.tar.gz
perlfaq7: there are no empty packages any more
-rw-r--r--pod/perlfaq7.pod6
1 files changed, 2 insertions, 4 deletions
diff --git a/pod/perlfaq7.pod b/pod/perlfaq7.pod
index fbe6dad497..983825b904 100644
--- a/pod/perlfaq7.pod
+++ b/pod/perlfaq7.pod
@@ -831,10 +831,8 @@ diagnostics as C<Carp> does, use the C<caller> built-in:
print "I was called from package $package\n";
);
-By default, your program starts in package C<main>, so you should
-always be in some package unless someone uses the C<package> built-in
-with no namespace. See the C<package> entry in L<perlfunc> for the
-details of empty packages.
+By default, your program starts in package C<main>, so you will
+always be in some package.
This is different from finding out the package an object is blessed
into, which might not be the current package. For that, use C<blessed>