Add prototypes for __FILE__ &c.
authorFather Chrysostomos <sprout@cpan.org>
Fri, 8 Jul 2011 15:39:58 +0000 (08:39 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 8 Jul 2011 16:10:46 +0000 (09:10 -0700)
commit7c4c6e7cb76c912fc1c4218cf14243fc37bd530a
tree58e0f3c4c5d790457c051d57bb7f8c37dffc9fb2
parent1fb5e7d7953f8a63127afab98dc2efd59a1a472f
Add prototypes for __FILE__ &c.

Before this commit, prototype("CORE::__FILE__") would die with ‘Can’t
find an op number...’.

That __FILE__ does not have an op number whereas time() does is an
implementation detail that should not be exposed to the user.

So this commit adds prototypes for __FILE__, __LINE__ and __PACKAGE__.
pod/perldelta.pod
pp.c
t/op/cproto.t