From: Chip Salzenberg Date: Thu, 24 Apr 1997 16:16:44 +0000 (+1200) Subject: Describe __PACKAGE__ in perldelta X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dd2afc7eca335b517bec81ce70a8a5a1c86b9c11;p=p5sagit%2Fp5-mst-13.2.git Describe __PACKAGE__ in perldelta --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 178812d..930773c 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -190,6 +190,19 @@ It is now possible to build Perl with AT&T's sfio IO package instead of stdio. See L for more details, and the F file for how to use it. +=head2 New and changed builtin constants + +=over + +=item __PACKAGE__ + +The current package name at compile time, or the undefined value if +there is no current package (due to a C directive). Like +C<__FILE__> and C<__LINE__>, C<__PACKAGE__> does I interpolate +into strings. + +=back + =head2 New and changed builtin variables =over