From 9b03c0a2763ac65c27fbda052b034db71849f461 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sat, 12 Feb 2011 15:00:42 -0800 Subject: [PATCH] perlfaq7: there are no empty packages any more --- pod/perlfaq7.pod | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pod/perlfaq7.pod b/pod/perlfaq7.pod index fbe6dad..983825b 100644 --- a/pod/perlfaq7.pod +++ b/pod/perlfaq7.pod @@ -831,10 +831,8 @@ diagnostics as C does, use the C built-in: print "I was called from package $package\n"; ); -By default, your program starts in package C
, so you should -always be in some package unless someone uses the C built-in -with no namespace. See the C entry in L for the -details of empty packages. +By default, your program starts in package C
, 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 -- 2.7.4