summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-04-25 04:16:44 +1200
committerChip Salzenberg <chip@atlantic.net>1997-04-27 00:00:00 +1200
commitdd2afc7eca335b517bec81ce70a8a5a1c86b9c11 (patch)
tree040e60dca6a7dc230ceaca816c7abaeb3786f9b8
parentf102b8834494e736221c17057fae0f964511ea18 (diff)
downloadperl-dd2afc7eca335b517bec81ce70a8a5a1c86b9c11.tar.gz
Describe __PACKAGE__ in perldelta
-rw-r--r--pod/perldelta.pod13
1 files changed, 13 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 178812dcfe..930773ca02 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<perlapio> for more details, and
the F<INSTALL> 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<package;> directive). Like
+C<__FILE__> and C<__LINE__>, C<__PACKAGE__> does I<not> interpolate
+into strings.
+
+=back
+
=head2 New and changed builtin variables
=over