This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3921068
)
perldelta: ‘package;’ is no longer supported
author
Father Chrysostomos
<sprout@cpan.org>
Fri, 11 Feb 2011 21:32:15 +0000
(13:32 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 11 Feb 2011 22:07:23 +0000
(14:07 -0800)
pod/perldata.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perldata.pod
b/pod/perldata.pod
index
fce27f2
..
8fb7ad1
100644
(file)
--- a/
pod/perldata.pod
+++ b/
pod/perldata.pod
@@
-406,7
+406,8
@@
represent the current filename, line number, and package name at that
point in your program. They may be used only as separate tokens; they
will not be interpolated into strings. If there is no current package
(due to an empty C<package;> directive), __PACKAGE__ is the undefined
-value.
+value. (But the empty C<package;> is no longer supported, as of version
+5.10.)
X<__FILE__> X<__LINE__> X<__PACKAGE__> X<line> X<file> X<package>
The two control characters ^D and ^Z, and the tokens __END__ and __DATA__