This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Inline PL_no_symref into pp_entersub. Deprecate the visible global variable.
authorNicholas Clark <nick@ccl4.org>
Sun, 15 Nov 2009 15:41:02 +0000 (15:41 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 15 Nov 2009 16:31:58 +0000 (16:31 +0000)
commit973a76153032581ad3a0224d9cb13b7191f46ee5
treee30469d82e516bf06c22a0182d47672c25861214
parentf0e67a1d29102aa9905aecf2b0f98449697d5af3
Inline PL_no_symref into pp_entersub. Deprecate the visible global variable.

As the core no longer needs this fixed string in more than one place, it seems
daft to go to the overhead (and cost) of making it public in case any module
wants to use it. Modules that do want to use it should provide their own inline
copy in future.

Also restore the visible global PL_no_symref back to the original format
specification (of 5.10.0 and earlier), as an extra %s has the potential to
cause SEGVs or worse if not spotted at compile time.
perl.h
pp_hot.c
t/porting/diag.t