New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
small problem #870
Comments
From kevinr@col.hp.comhttp://www.perl.com/CPAN-local/doc/manual/html/pod/perlembed.html#Compiling_your_C_program and I had trouble compiling the string.c example. Specifically the printf("a = %s\n", SvPV(perl_get_sv("a", FALSE), PL_na)); was the trouble maker. PL_na was undefined. I did, however, find: /opt/perl5/lib/CORE/perl.h:EXT STRLEN na; /* for use in So I changed the line to the following and it compiles/runs just fine. printf("a = %s\n", SvPV(perl_get_sv("a", FALSE), na)); perl -V gives: hint=previous, useposix=true, d_sigaction=define Characteristics of this binary (from libperl): I am compiling with: cc -D_HPUX_SOURCE -Aa \ I know this isn't a "perl" or "document" bug but I think ironing out Thanks for making these examples available! Kevin Ryan kevin_ryan@agilent.com |
From [Unknown Contact. See original ticket]Kevin Ryan <kevinr@col.hp.com> writes:
That documents up-to-date perl i.e. perl5.005+
Yes for old perl5.00404 it used to be called 'na' - we changed it -- |
Migrated from rt.perl.org#1801 (status was 'resolved')
Searchable as RT1801$
The text was updated successfully, but these errors were encountered: