projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ca05f
)
perldelta for __FILE__()
author
Father Chrysostomos
<sprout@cpan.org>
Fri, 12 Aug 2011 19:29:07 +0000
(12:29 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 12 Aug 2011 19:29:07 +0000
(12:29 -0700)
pod/perldelta.pod
patch
|
blob
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
120cafe
..
2b5b4e1
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-28,6
+28,12
@@
here, but most should go in the L</Performance Enhancements> section.
[ List each enhancement as a =head2 entry ]
+=head2 C<__FILE__()> Syntax
+
+The C<__FILE__>, C<__LINE__> and C<__PACKAGE__> tokens can now be written
+with an empty pair of parentheses after them. This makes them parse the
+same way as C<time>, C<fork> and other built-in functions.
+
=head1 Security
XXX Any security-related notices go here. In particular, any security