On Wed, Dec 03, 2003 at 05:17:01PM -0600 Dan Muey wrote: > Doh! I was on 5.5, 5.8 just worked for me to, 5.6.1 also!
In order to make your C code more portable across several versions of the perlapi, you could use Devel::PPPort. perl -MDevel::PPPort -eDevel::PPPort::WriteFile will create ppport.h in the current directory. You could take this file and #include it in your source code. Many macros and some functions from recent perls are thus also available in older perls. With this (it corresponds to the -b switch of h2xs) it's relatively easy to write XS or XS-alike code that runs under many Perl versions. Tassilo -- $_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({ pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#; $_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]