This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlfaq7: there are no empty packages any more
authorFather Chrysostomos <sprout@cpan.org>
Sat, 12 Feb 2011 23:00:42 +0000 (15:00 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 12 Feb 2011 23:00:42 +0000 (15:00 -0800)
pod/perlfaq7.pod

index fbe6dad..983825b 100644 (file)
@@ -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>