Hmm. I see a variable in the perl5.6.1 includes called PL_na, and a
define for that in embedvar.h ... and there's a define for "na" that
points to PL_na. But that's inside
#ifdef PERL_POLLUTE /* disabled by default in 5.6.0 */
Looks like version skew to me .. indeed. the 5.6 makefile talks about
this explicitly:
=head1 WARNING: This version requires an extra step to build old
extensions.
5.005_53 and later releases do not export unadorned
global symbols anymore. This means you may need to build older
extensions that have not been updated for the new naming convention
with:
perl Makefile.PL POLLUTE=1
Alternatively, you can enable CPP symbol pollution wholesale by
building perl itself with:
sh Configure -Accflags=-DPERL_POLLUTE
pod/perldelta.pod contains more details about this.