This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Take care in toke.c not to convert constant subroutine reference
authorNicholas Clark <nick@ccl4.org>
Tue, 20 Dec 2005 20:13:12 +0000 (20:13 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 20 Dec 2005 20:13:12 +0000 (20:13 +0000)
commit62d55b227f6b1e95d65e7faf12ed22fd467e4c0e
tree878ebaec9c22b6cea9c0ddb9e303b2ea782dc6f4
parentb204bbd55f0b19ee3a808931bc9154c7a5183948
Take care in toke.c not to convert constant subroutine reference
proxies into full blown PVGVs with PVCVs, and recognise them and inline
their values. Adds a new function gv_const_sv(gv) to return the value
of the constant subroutine from a GV, and adds a cv parameter to
S_intuit_method.

p4raw-id: //depot/perl@26427
embed.fnc
embed.h
gv.c
proto.h
toke.c